2008-09-22 | Paul Boddie | file changeset files shortlog | Added some support for augmented assignment. Attempted to fix unary and binary operations to actually produce results: the result from each successful call was not being retained and produced for further use. |
paul@27 | 1 | #!/usr/bin/env python |
paul@27 | 2 | |
paul@27 | 3 | a = 1 |
paul@27 | 4 | if a: |
paul@27 | 5 | b = 1 |
paul@27 | 6 | else: |
paul@27 | 7 | b = 2 |
paul@27 | 8 | a |
paul@27 | 9 | b |
paul@27 | 10 | |
paul@27 | 11 | # vim: tabstop=4 expandtab shiftwidth=4 |