summaryrefslogtreecommitdiff
path: root/numpy/lib/stride_tricks.pyi
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/stride_tricks.pyi')
-rw-r--r--numpy/lib/stride_tricks.pyi6
1 files changed, 2 insertions, 4 deletions
diff --git a/numpy/lib/stride_tricks.pyi b/numpy/lib/stride_tricks.pyi
index e05a9f74c..84dcd12e7 100644
--- a/numpy/lib/stride_tricks.pyi
+++ b/numpy/lib/stride_tricks.pyi
@@ -1,18 +1,16 @@
from collections.abc import Iterable
from typing import Any, TypeVar, overload, SupportsIndex
-from numpy import dtype, generic
+from numpy import generic
from numpy.typing import (
NDArray,
ArrayLike,
_ShapeLike,
_Shape,
- _FiniteNestedSequence,
- _SupportsArray,
+ _ArrayLike
)
_SCT = TypeVar("_SCT", bound=generic)
-_ArrayLike = _FiniteNestedSequence[_SupportsArray[dtype[_SCT]]]
__all__: list[str]