micropython

tests/call_func_uncertain.py

219:b58aae0af656
2009-05-22 Paul Boddie Removed the codedetails attribute from DataObject instances and from the structure descriptions. Added notes about argument checking for CheckFrame since the context needs to be verified where it is required. Made sure that the bool class is available since True and False are always available and their methods must also be accessible via the object table. Split various tests into separate programs with improved labelling.
     1 #!/usr/bin/env python     2      3 def f(a, b, c):     4     return c     5      6 g = f     7 x = g(1, c=3, b=2)     8      9 def g(a, c, b):    10     return c    11     12 y = g(1, c=3, b=2)    13     14 # vim: tabstop=4 expandtab shiftwidth=4