micropython

tests/call_func_default.py

207:79f8d72c8c78
2009-05-01 Paul Boddie Removed the instance attribute from DataObject (the common data structure), employing the presence of a value on the attrcode attribute to indicate the instance status of objects.
     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