2010-06-12 | Paul Boddie | file changeset files shortlog | Fixed scope handling where names are imported into namespaces. Added a simple iter built-in function. Made the xrange test use the iteration protocol. |
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 |