]> granicus.if.org Git - python/commitdiff
#10668: fix wrong call of __init__.
authorGeorg Brandl <georg@python.org>
Fri, 10 Dec 2010 10:01:44 +0000 (10:01 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 10 Dec 2010 10:01:44 +0000 (10:01 +0000)
Lib/test/test_array.py

index b44eb978938013e0d2b8b98415d3f24821b417b4..6de6bf265c22fc9e79822230dfcceadb5a3e0624 100755 (executable)
@@ -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"