micropython

tests/call_func_default.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):     4     return c     5      6 r1 = f(1, 2, 3)     7 r2 = f(1, 2)     8      9 # vim: tabstop=4 expandtab shiftwidth=4