micropython

Annotated tests/call_func_default.py

635:74ad0468297b
2013-01-15 Paul Boddie Added support for multiple class definitions in the same namespace with the same name. Made classes attribute users.
paul@62 1
#!/usr/bin/env python
paul@62 2
paul@62 3
def f(a, b, c=4):
paul@190 4
    return c
paul@62 5
paul@229 6
result_3 = f(1, 2, 3)
paul@229 7
result_4 = f(1, 2)
paul@62 8
paul@62 9
# vim: tabstop=4 expandtab shiftwidth=4