summaryrefslogtreecommitdiff
path: root/numpy/typing/_array_like.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/typing/_array_like.py')
-rw-r--r--numpy/typing/_array_like.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/numpy/typing/_array_like.py b/numpy/typing/_array_like.py
index 133f38800..ef6c061d1 100644
--- a/numpy/typing/_array_like.py
+++ b/numpy/typing/_array_like.py
@@ -124,6 +124,11 @@ _ArrayLikeBytes_co = _ArrayLike[
bytes,
]
+_ArrayLikeInt = _ArrayLike[
+ "dtype[integer[Any]]",
+ int,
+]
+
if TYPE_CHECKING:
_ArrayND = ndarray[Any, dtype[_ScalarType]]
_ArrayOrScalar = Union[_ScalarType, _ArrayND[_ScalarType]]