micropython

tests/call_method.py

66:f5dff4743a77
2008-04-07 Paul Boddie Added support for default parameter value initialisation, tidying up some related invocation issues along the way.
     1 #!/usr/bin/env python     2      3 class C:     4     def f(self, a, b, c):     5         pass     6      7 c = C()     8 c.f(1, 2, 3)     9     10 f = c.f    11 f(1, 2, 3)    12     13 # vim: tabstop=4 expandtab shiftwidth=4