micropython

Annotated tests/call_func_default_global.py

804:c967b47fada4
2014-06-01 Paul Boddie Merged branches. syspython-as-target
paul@331 1
#!/usr/bin/env python
paul@331 2
paul@331 3
d = 4
paul@331 4
paul@331 5
def f(a, b, c=d):
paul@331 6
    return c
paul@331 7
paul@331 8
result_3 = f(1, 2, 3)
paul@331 9
result_4 = f(1, 2)
paul@331 10
paul@331 11
# vim: tabstop=4 expandtab shiftwidth=4