micropython

tests/call_func_uncertain.py

212:9cb85e5768fa
2009-05-09 Paul Boddie Added missing funccode to structures. Renamed function_from_method to as_instantiator with naming changes. Added a test of instantiation and keywords.
     1 #!/usr/bin/env python     2      3 def f(a, b, c):     4     pass     5      6 g = f     7 g(1, c=3, b=2)     8      9 def g(a, c, b):    10     pass    11     12 g(1, c=3, b=2)    13     14 # vim: tabstop=4 expandtab shiftwidth=4