micropython

Annotated tests/global_forward_declaration.py

655:c52c50dca9dc
2013-05-01 Paul Boddie Added some tests of dynamic attribute access using getattr and string constants. syspython-as-target
paul@236 1
#!/usr/bin/env python
paul@236 2
paul@236 3
def f(x):
paul@236 4
    return g(x)
paul@236 5
paul@236 6
def g(x):
paul@236 7
    return x
paul@236 8
paul@236 9
result_13579 = f(13579)
paul@236 10
paul@236 11
# vim: tabstop=4 expandtab shiftwidth=4