2009-05-01 | Paul Boddie | file changeset files shortlog | Removed the instance attribute from DataObject (the common data structure), employing the presence of a value on the attrcode attribute to indicate the instance status of objects. |
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@193 | 8 | b = C.clsattr |
paul@193 | 9 | |
paul@193 | 10 | # vim: tabstop=4 expandtab shiftwidth=4 |