summaryrefslogtreecommitdiff
path: root/numpy/typing/_shape.py
diff options
context:
space:
mode:
authorMarsBarLee <46167686+MarsBarLee@users.noreply.github.com>2021-06-08 14:50:40 -0400
committerMarsBarLee <46167686+MarsBarLee@users.noreply.github.com>2021-06-08 14:50:40 -0400
commitd1134930c8dfef8ea935d5c4f2b6ee6613a03d82 (patch)
treea4cfc29a37cc93a9dcc076b7d818ca9e604e0095 /numpy/typing/_shape.py
parent9964bf877277f31fb5f0092a36b51bf6782366ce (diff)
parentb9a63f5052b0ba5a7a5b2616ddcc1754df177bd3 (diff)
downloadnumpy-d1134930c8dfef8ea935d5c4f2b6ee6613a03d82.tar.gz
Merge branch 'numpy:main' into crosslink-gitpod
Diffstat (limited to 'numpy/typing/_shape.py')
-rw-r--r--numpy/typing/_shape.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/typing/_shape.py b/numpy/typing/_shape.py
index 0742be8a9..75698f3d3 100644
--- a/numpy/typing/_shape.py
+++ b/numpy/typing/_shape.py
@@ -1,5 +1,5 @@
import sys
-from typing import Sequence, Tuple, Union
+from typing import Sequence, Tuple, Union, Any
from . import _HAS_TYPING_EXTENSIONS
@@ -8,7 +8,7 @@ if sys.version_info >= (3, 8):
elif _HAS_TYPING_EXTENSIONS:
from typing_extensions import SupportsIndex
else:
- SupportsIndex = NotImplemented
+ SupportsIndex = Any
_Shape = Tuple[int, ...]