diff options
author | Sista Seetaram <hanumaseetaram@gmail.com> | 2021-09-03 06:09:38 +0530 |
---|---|---|
committer | Sista Seetaram <hanumaseetaram@gmail.com> | 2021-09-03 06:09:38 +0530 |
commit | e4c589054b342dc750cdd09686c0c01ab762679c (patch) | |
tree | f988f5b69d7236a37d43093a5009b94cefc6031d /numpy/array_api | |
parent | e4a11cb29af12b0e67fda3f924585b23cee0b567 (diff) | |
download | numpy-e4c589054b342dc750cdd09686c0c01ab762679c.tar.gz |
fix unhashable instance and potential exception identified by LGTM
Diffstat (limited to 'numpy/array_api')
-rw-r--r-- | numpy/array_api/_typing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/array_api/_typing.py b/numpy/array_api/_typing.py index 8b7832d74..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 |