diff options
Diffstat (limited to 'numpy/lib/shape_base.pyi')
-rw-r--r-- | numpy/lib/shape_base.pyi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/shape_base.pyi b/numpy/lib/shape_base.pyi index 1598dc36c..8aa283d02 100644 --- a/numpy/lib/shape_base.pyi +++ b/numpy/lib/shape_base.pyi @@ -17,7 +17,7 @@ from numpy.typing import ( ArrayLike, NDArray, _ShapeLike, - _NestedSequence, + _FiniteNestedSequence, _SupportsDType, _ArrayLikeBool_co, _ArrayLikeUInt_co, @@ -31,7 +31,7 @@ from numpy.core.shape_base import vstack _SCT = TypeVar("_SCT", bound=generic) -_ArrayLike = _NestedSequence[_SupportsDType[dtype[_SCT]]] +_ArrayLike = _FiniteNestedSequence[_SupportsDType[dtype[_SCT]]] # The signatures of `__array_wrap__` and `__array_prepare__` are the same; # give them unique names for the sake of clarity |