Too many type arguments provided for "NDArray[float64]", when slicing a NumPy array #2161
Labels
bug
Something isn't working
fixed in next version (main)
A fix has been implemented and will appear in an upcoming version
Example program:
In
v2021.12.1
, this produces as errorToo many type arguments provided for "NDArray[float64]"; expected 1 but received 2
with a red squiggle under the "2" inbar[1,2]
.However, Pylance version
v2021.12.0
does not show this as an error, as is expected.Environment data
Logs
Python Language Server Log
The text was updated successfully, but these errors were encountered: