mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
#10668: fix wrong call of __init__.
This commit is contained in:
parent
40e86f0df2
commit
cf03ac0c64
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue