| Tor Norbye | 3a2425a | 2013-11-04 10:16:08 -0800 | [diff] [blame^] | 1 | <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: |
| 2 | do_smth() | ||||
| 3 | except ImportError: | ||||
| 4 | do() | ||||
| 5 | except KeyError: | ||||
| 6 | do_1() | ||||
| 7 | finally: | ||||
| 8 | quit()</warning> | ||||