Commit cf03ac0c authored by Georg Brandl's avatar Georg Brandl

#10668: fix wrong call of __init__.

parent 40e86f0d
......@@ -22,7 +22,7 @@ class ArraySubclass(array.array):
class ArraySubclassWithKwargs(array.array):
def __init__(self, typecode, newarg=None):
array.array.__init__(typecode)
array.array.__init__(self, typecode)
tests = [] # list to accumulate all tests
typecodes = "ubBhHiIlLfd"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment