2010-09-07 | Paul Boddie | file changeset files shortlog | Changed attribute usage tracking to consider branching and separate usage possibilities in a slightly more rigourous way. Attempted to add isinstance support. Added tests of the revised attribute usage support. |
paul@343 | 1 | #!/usr/bin/env python |
paul@343 | 2 | |
paul@343 | 3 | x = [1, 2, 3] |
paul@343 | 4 | |
paul@343 | 5 | if not x: |
paul@343 | 6 | def len(arg): |
paul@343 | 7 | return 0 |
paul@343 | 8 | |
paul@343 | 9 | y = len(x) |
paul@343 | 10 | |
paul@343 | 11 | # vim: tabstop=4 expandtab shiftwidth=4 |