2010-02-07 | Paul Boddie | file changeset files shortlog | Distinguished between class and instance attributes when generating guards for attribute users. Added a test of instance-specific guards. Added a documentation note about closures. |
paul@242 | 1 | #!/usr/bin/env python |
paul@242 | 2 | |
paul@242 | 3 | import imported |
paul@242 | 4 | |
paul@242 | 5 | m = None |
paul@242 | 6 | m = imported |
paul@242 | 7 | |
paul@242 | 8 | result_123 = m.attr |
paul@242 | 9 | result_10 = m.a |
paul@242 | 10 | |
paul@242 | 11 | # vim: tabstop=4 expandtab shiftwidth=4 |