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 b73585cf0..a4c526778 100644
--- a/numpy/typing/_array_like.py
+++ b/numpy/typing/_array_like.py
@@ -24,4 +24,9 @@ if TYPE_CHECKING or HAVE_PROTOCOL:
else:
_SupportsArray = Any
+# TODO: support buffer protocols once
+#
+# https://github.com/python/typing/issues/593
+#
+# is resolved.
ArrayLike = Union[bool, int, float, complex, _SupportsArray, Sequence]