mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-25 06:18:32 +07:00
8 lines
299 B
Python
8 lines
299 B
Python
<warning descr="Python version 2.4 doesn't support this syntax. You could use a finally block to ensure that code is always executed, or one or more except blocks to catch specific exceptions.">try:
|
|
do_smth()
|
|
except ImportError:
|
|
do()
|
|
except KeyError:
|
|
do_1()
|
|
finally:
|
|
quit()</warning> |