mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-15307 Numpy: TypeChecker: fals positive when passing new array shape as two ints to resize method
This commit is contained in:
@@ -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']
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user