mirror of https://github.com/python/cpython.git
#10668: fix wrong call of __init__.
This commit is contained in:
parent
40e86f0df2
commit
cf03ac0c64
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue