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@29 | 1 | a = 1 |
paulb@29 | 2 | b = 2 |
paul@0 | 3 | if a: |
paul@0 | 4 | x = 1 |
paul@0 | 5 | elif b: |
paul@0 | 6 | x = 2 |
paul@0 | 7 | else: |
paul@0 | 8 | x = 3 |