2009-11-23 | Paul Boddie | file changeset files shortlog | Added attribute usage registration for branches where more specific attribute usage occurs, but where such usage cannot be merged back into the active usage definition for a given name. This should ensure that attributes are not forgotten because their usage was not merged and carried forward. Added more specific tests. |
paul@36 | 1 | #!/usr/bin/env python |
paul@36 | 2 | |
paul@36 | 3 | class A: |
paul@36 | 4 | pass |
paul@36 | 5 | |
paul@36 | 6 | class B: |
paul@36 | 7 | pass |
paul@36 | 8 | |
paul@36 | 9 | for x in A, B: |
paul@36 | 10 | class C(x): |
paul@36 | 11 | pass |
paul@36 | 12 | |
paul@36 | 13 | # vim: tabstop=4 expandtab shiftwidth=4 |