mirror of
https://github.com/licsber/micropython.git
synced 2024-09-21 09:30:24 +08:00
6 lines
181 B
Python
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
|