tests/tryexcept.py | raw changeset files shortlog |
1.1 --- a/tests/tryexcept.py Tue Oct 24 23:10:22 2006 +0200 1.2 +++ b/tests/tryexcept.py Sat Oct 28 00:20:33 2006 +0200 1.3 @@ -4,11 +4,13 @@ 1.4 pass 1.5 class C: 1.6 pass 1.7 - 1.8 -b = 0; c = 1; y = 2 1.9 +x = 1 1.10 try: 1.11 - x = y 1.12 + if x: 1.13 + raise A 1.14 + else: 1.15 + raise B 1.16 except A, e: 1.17 - a = b 1.18 + a = e 1.19 except (B, C), f: 1.20 - a = c 1.21 + a = f