mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 12:40:15 +01:00
tests: Add some bytecode tests.
This commit is contained in:
5
tests/bytecode/mp-tests/fun4.py
Normal file
5
tests/bytecode/mp-tests/fun4.py
Normal file
@@ -0,0 +1,5 @@
|
||||
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
|
||||
Reference in New Issue
Block a user