2013-05-01 | Paul Boddie | file changeset files shortlog | Permit repeated evaluation of __builtins__.getattr and a final evaluation of the function with more complete knowledge of a program's constants. | syspython-as-target |
paul@193 | 1 | #!/usr/bin/env python |
paul@193 | 2 | |
paul@193 | 3 | class C: |
paul@193 | 4 | clsattr = 123 |
paul@193 | 5 | clsattr = 456 |
paul@193 | 6 | |
paul@193 | 7 | a = C |
paul@228 | 8 | result_456 = C.clsattr |
paul@193 | 9 | |
paul@193 | 10 | # vim: tabstop=4 expandtab shiftwidth=4 |