We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f0419c commit c963310Copy full SHA for c963310
1 file changed
tests/basics/subclass-native4.py
@@ -0,0 +1,9 @@
1
+# Test calling non-special method inherited from native type
2
+
3
+class mylist(list):
4
+ pass
5
6
+l = mylist([1, 2, 3])
7
+print(l)
8
+l.append(10)
9
0 commit comments