diff options
Diffstat (limited to 'numpy/core/numeric.pyi')
-rw-r--r-- | numpy/core/numeric.pyi | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/numpy/core/numeric.pyi b/numpy/core/numeric.pyi index 367a2bff8..796f30304 100644 --- a/numpy/core/numeric.pyi +++ b/numpy/core/numeric.pyi @@ -12,7 +12,6 @@ from typing_extensions import TypeGuard from numpy import ( ComplexWarning as ComplexWarning, - dtype, generic, unsignedinteger, signedinteger, @@ -34,8 +33,7 @@ from numpy.typing import ( DTypeLike, _ShapeLike, _DTypeLike, - _FiniteNestedSequence, - _SupportsArray, + _ArrayLike, _SupportsArrayFunc, _ScalarLike_co, _ArrayLikeBool_co, @@ -51,7 +49,6 @@ _T = TypeVar("_T") _SCT = TypeVar("_SCT", bound=generic) _ArrayType = TypeVar("_ArrayType", bound=NDArray[Any]) -_ArrayLike = _FiniteNestedSequence[_SupportsArray[dtype[_SCT]]] _CorrelateMode = Literal["valid", "same", "full"] __all__: list[str] |