2012-07-14 | Paul Boddie | file changeset files shortlog | Restricted the nodes that can be used to obtain type information. |
paul@508 | 1 | #!/usr/bin/env python |
paul@508 | 2 | |
paul@508 | 3 | class C: |
paul@508 | 4 | a = 123 |
paul@508 | 5 | |
paul@508 | 6 | a1 = C.a # no need for usage tracking on C |
paul@508 | 7 | f1 = a1.__add__ # no need for usage tracking on a1 |
paul@508 | 8 | |
paul@508 | 9 | c = C() |
paul@508 | 10 | a2 = c.a |
paul@508 | 11 | f2 = a2.__add__ |
paul@508 | 12 | |
paul@508 | 13 | result1_579 = f1(456) |
paul@508 | 14 | result2_579 = f2(456) |
paul@508 | 15 | |
paul@508 | 16 | # vim: tabstop=4 expandtab shiftwidth=4 |