summaryrefslogtreecommitdiffstatshomepage
path: root/tests/bytecode/mp-tests/fun4.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bytecode/mp-tests/fun4.py')
-rw-r--r--tests/bytecode/mp-tests/fun4.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/bytecode/mp-tests/fun4.py b/tests/bytecode/mp-tests/fun4.py
new file mode 100644
index 0000000000..b8d2ac159e
--- /dev/null
+++ b/tests/bytecode/mp-tests/fun4.py
@@ -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