2013-07-04 | Paul Boddie | file changeset files shortlog | Fixed operator and built-in function invocations to use the "apply" function. Added a proper translation of print statements. | syspython-as-target |
paul@384 | 1 | #!/usr/bin/env python |
paul@384 | 2 | |
paul@384 | 3 | class C: |
paul@384 | 4 | def f(self): |
paul@384 | 5 | return 1 |
paul@384 | 6 | |
paul@384 | 7 | class D: |
paul@384 | 8 | def g(self): |
paul@384 | 9 | return 2 |
paul@384 | 10 | |
paul@384 | 11 | c = C() |
paul@384 | 12 | for j in xrange(0, 10): |
paul@384 | 13 | k = c.f() |
paul@384 | 14 | |
paul@384 | 15 | result_1 = k |
paul@384 | 16 | |
paul@384 | 17 | # vim: tabstop=4 expandtab shiftwidth=4 |