micropython

tests/global_forward_declaration.py

519:814bd122d84d
2012-06-04 Paul Boddie Updated the documentation to reflect class attribute assignment policies. Added tests to demonstrate class attribute rebinding.
     1 #!/usr/bin/env python     2      3 def f(x):     4     return g(x)     5      6 def g(x):     7     return x     8      9 result_13579 = f(13579)    10     11 # vim: tabstop=4 expandtab shiftwidth=4