summaryrefslogtreecommitdiffstatshomepage
path: root/tests/bytecode/mp-tests/class3.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bytecode/mp-tests/class3.py')
-rw-r--r--tests/bytecode/mp-tests/class3.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/bytecode/mp-tests/class3.py b/tests/bytecode/mp-tests/class3.py
new file mode 100644
index 0000000000..f49e2e8114
--- /dev/null
+++ b/tests/bytecode/mp-tests/class3.py
@@ -0,0 +1,10 @@
+class A:
+ def f(x):
+ return x
+ def g(y):
+ def h(z):
+ return x + y + z
+ h(y)
+A()
+A.f(1)
+A.g(2)(3)