2007-07-31 | paulb | file changeset files shortlog | Changed the invocations annotation to be a set, and added fixing of the contents of such sets. Added a specialisations method to Subprogram, producing only subprograms related to distinct instances. |
paulb@190 | 1 | class A: |
paulb@190 | 2 | pass |
paulb@190 | 3 | |
paulb@190 | 4 | class B: |
paulb@190 | 5 | pass |
paulb@190 | 6 | |
paulb@190 | 7 | def f(): |
paulb@190 | 8 | try: |
paulb@190 | 9 | raise A |
paulb@190 | 10 | except B: |
paulb@190 | 11 | pass |
paulb@190 | 12 | |
paulb@190 | 13 | f() |