summaryrefslogtreecommitdiff
path: root/numpy/array_api/_typing.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2021-09-03 11:02:06 -0600
committerGitHub <noreply@github.com>2021-09-03 11:02:06 -0600
commit11420ae27f36bf8a49b7661be44dad94f39a79b0 (patch)
treee2ebcbfb93ef3503fd5d42b93d2c7e720343e3bb /numpy/array_api/_typing.py
parent516355fc0cd4f507075abb9df5442ce8a58e6ab3 (diff)
parente4c589054b342dc750cdd09686c0c01ab762679c (diff)
downloadnumpy-11420ae27f36bf8a49b7661be44dad94f39a79b0.tar.gz
Merge pull request #19818 from sistaseetaram/related-to-#19077
MAINT: fix unhashable instance and potential exception identified by LGTM.
Diffstat (limited to 'numpy/array_api/_typing.py')
-rw-r--r--numpy/array_api/_typing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/array_api/_typing.py b/numpy/array_api/_typing.py
index d530a91ae..831a108bc 100644
--- a/numpy/array_api/_typing.py
+++ b/numpy/array_api/_typing.py
@@ -37,7 +37,7 @@ NestedSequence = Sequence[Sequence[Any]]
Device = Any
Dtype = Type[
- Union[[int8, int16, int32, int64, uint8, uint16, uint32, uint64, float32, float64]]
+ Union[int8, int16, int32, int64, uint8, uint16, uint32, uint64, float32, float64]
]
SupportsDLPack = Any
SupportsBufferProtocol = Any