2014-02-23 | Paul Boddie | file changeset files shortlog | Added a test of a name taking different scopes in the same unit. | syspython-as-target |
paul@59 | 1 | #!/usr/bin/env python |
paul@59 | 2 | |
paul@59 | 3 | class C: |
paul@137 | 4 | def __init__(self, x): |
paul@208 | 5 | self.x = x |
paul@59 | 6 | |
paul@137 | 7 | c = C(123) |
paul@230 | 8 | result_123 = c.x |
paul@59 | 9 | |
paul@59 | 10 | # vim: tabstop=4 expandtab shiftwidth=4 |