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@327 | 1 | #!/usr/bin/env python |
paul@327 | 2 | |
paul@327 | 3 | def a(): |
paul@327 | 4 | def b(p): |
paul@327 | 5 | return p |
paul@327 | 6 | return b |
paul@327 | 7 | |
paul@327 | 8 | f = a() |
paul@327 | 9 | result_1 = f(1) |
paul@327 | 10 | |
paul@327 | 11 | # vim: tabstop=4 expandtab shiftwidth=4 |