summaryrefslogtreecommitdiff
path: root/numpy/typing/_extended_precision.py
diff options
context:
space:
mode:
authorBas van Beek <43369155+BvB93@users.noreply.github.com>2021-06-05 23:35:11 +0200
committerBas van Beek <43369155+BvB93@users.noreply.github.com>2021-06-05 23:35:11 +0200
commit7162dc3c9f3cc02434c50dfb4e55b790453c00a4 (patch)
treea1e42466dc626dc78986bec79bb8c0c9ff50bbe8 /numpy/typing/_extended_precision.py
parentf23ade75773f5e94c030c40cae5b6e081b650205 (diff)
downloadnumpy-7162dc3c9f3cc02434c50dfb4e55b790453c00a4.tar.gz
REV,BUG: Replace `NotImplemented` with `typing.Any`
Diffstat (limited to 'numpy/typing/_extended_precision.py')
-rw-r--r--numpy/typing/_extended_precision.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/numpy/typing/_extended_precision.py b/numpy/typing/_extended_precision.py
index 3f1ce2038..0900bc659 100644
--- a/numpy/typing/_extended_precision.py
+++ b/numpy/typing/_extended_precision.py
@@ -28,15 +28,15 @@ if TYPE_CHECKING:
complex256 = np.complexfloating[_128Bit, _128Bit]
complex512 = np.complexfloating[_256Bit, _256Bit]
else:
- uint128 = NotImplemented
- uint256 = NotImplemented
- int128 = NotImplemented
- int256 = NotImplemented
- float80 = NotImplemented
- float96 = NotImplemented
- float128 = NotImplemented
- float256 = NotImplemented
- complex160 = NotImplemented
- complex192 = NotImplemented
- complex256 = NotImplemented
- complex512 = NotImplemented
+ uint128 = Any
+ uint256 = Any
+ int128 = Any
+ int256 = Any
+ float80 = Any
+ float96 = Any
+ float128 = Any
+ float256 = Any
+ complex160 = Any
+ complex192 = Any
+ complex256 = Any
+ complex512 = Any