summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/closure-defargs.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basics/closure-defargs.py')
-rw-r--r--tests/basics/closure-defargs.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/basics/closure-defargs.py b/tests/basics/closure-defargs.py
deleted file mode 100644
index 96b1092659..0000000000
--- a/tests/basics/closure-defargs.py
+++ /dev/null
@@ -1,11 +0,0 @@
-# test closure with default args
-
-def f():
- a = 1
- def bar(b = 10, c = 20):
- print(a + b + c)
- bar()
- bar(2)
- bar(2, 3)
-
-print(f())