2007-02-23 | paulb | file changeset files shortlog | Fixed lambda annotations. Fixed list comprehensions without if clauses. Added assert support and the AssertionError built-in type. Made the simplification process raise SimplifiedError instances when unsupported nodes are encountered. |
paulb@34 | 1 | if 2: |
paulb@34 | 2 | class A: |
paulb@34 | 3 | def f(self): |
paulb@34 | 4 | pass |
paulb@34 | 5 | else: |
paulb@34 | 6 | class A: |
paulb@34 | 7 | pass |
paulb@34 | 8 | class B(A): |
paulb@34 | 9 | pass |