circuitpython/tests/bytecode/mp-tests/fun4.py
2014-04-12 18:00:32 +01:00

6 lines
181 B
Python

def f(a, b=1, *c, d):
pass
#print(a,b,c,d) # bug in uPy!
f = lambda a, b, *c, d: None # default arg
#f = lambda a, b=1, *c, d: None # default arg for lambda not implemented