2011-05-10 | Paul Boddie | file changeset files shortlog | Added module identity information to the object table. This permits testing for module object types in guards. |
paul@243 | 1 | #!/usr/bin/env python |
paul@243 | 2 | |
paul@243 | 3 | class C: |
paul@243 | 4 | x = 111 |
paul@243 | 5 | |
paul@243 | 6 | X = 1 |
paul@243 | 7 | X = C |
paul@243 | 8 | x = X() |
paul@243 | 9 | |
paul@243 | 10 | result_111 = x.x |
paul@243 | 11 | |
paul@243 | 12 | # vim: tabstop=4 expandtab shiftwidth=4 |