2013-10-08 | Paul Boddie | file changeset files shortlog | Fixed relative import path interpretation to work within package roots. | syspython-as-target |
paul@41 | 1 | #!/usr/bin/env python |
paul@41 | 2 | |
paul@41 | 3 | class C: |
paul@41 | 4 | value = "hello" |
paul@115 | 5 | x = 10 |
paul@244 | 6 | y = 0 |
paul@41 | 7 | while x > 0: |
paul@244 | 8 | y += 1 |
paul@115 | 9 | x = x - 1 |
paul@41 | 10 | |
paul@244 | 11 | result_0 = C.x |
paul@244 | 12 | result_10 = C.y |
paul@244 | 13 | |
paul@41 | 14 | # vim: tabstop=4 expandtab shiftwidth=4 |