2013-05-01 | Paul Boddie | file changeset files shortlog | Added some tests of dynamic attribute access using getattr and string constants. | syspython-as-target |
paul@73 | 1 | #!/usr/bin/env python |
paul@73 | 2 | |
paul@73 | 3 | a = 1 |
paul@73 | 4 | b = 2 |
paul@73 | 5 | c = a + b |
paul@78 | 6 | d = a + b + c |
paul@73 | 7 | |
paul@246 | 8 | result_3 = c |
paul@246 | 9 | result_6 = d |
paul@246 | 10 | |
paul@73 | 11 | # vim: tabstop=4 expandtab shiftwidth=4 |