micropython

Annotated tests/shadow_locals_globals_unbound_local.py

671:76bdd4381b66
2013-07-04 Paul Boddie Fixed operator and built-in function invocations to use the "apply" function. Added a proper translation of print statements. syspython-as-target
paul@342 1
#!/usr/bin/env python
paul@342 2
paul@342 3
a = 1
paul@342 4
paul@342 5
def before():
paul@342 6
    b = a
paul@342 7
    a = 2
paul@342 8
    return b
paul@342 9
paul@342 10
result1_1 = before()
paul@342 11
paul@342 12
# vim: tabstop=4 expandtab shiftwidth=4