PY-15307 Numpy: TypeChecker: fals positive when passing new array shape as two ints to resize method

This commit is contained in:
Ekaterina Tuzova
2016-05-17 14:27:14 +03:00
parent 332bbea8a9
commit a1842fb0af
2 changed files with 3 additions and 2 deletions
@@ -6,7 +6,7 @@ import string
import time
# !!! Don't forget to update VERSION and required_gen_version if necessary !!!
VERSION = "1.142"
VERSION = "1.143"
OUT_ENCODING = 'utf-8'
@@ -532,6 +532,7 @@ PREDEFINED_MOD_CLASS_SIGS = { #TODO: user-
("numpy.random.mtrand", None, "rand"): ("(*dn)", None),
("numpy.random.mtrand", None, "randn"): ("(*dn)", None),
("numpy.core.multiarray", "ndarray", "reshape"): ("(self, shape, *shapes, order='C')", None),
("numpy.core.multiarray", "ndarray", "resize"): ("(self, *new_shape, refcheck=True)", None),
}
bin_collections_names = ['collections', '_collections']
+1 -1
View File
@@ -47,4 +47,4 @@ h5py.h5i 1.127
h5py.h5g 1.127
numpy.random.mtrand 1.140
numpy.core.multiarray 1.142
numpy.core.multiarray 1.143