diff options
author | Sista Seetaram <hanumaseetaram@gmail.com> | 2021-09-03 00:25:57 +0530 |
---|---|---|
committer | Sista Seetaram <hanumaseetaram@gmail.com> | 2021-09-03 00:25:57 +0530 |
commit | e4a11cb29af12b0e67fda3f924585b23cee0b567 (patch) | |
tree | 183b79aa364bced690912d19419598a4eefea878 /numpy/array_api/_typing.py | |
parent | 95d254027f2fb526fe4c745f330e6fa448a7e4db (diff) | |
download | numpy-e4a11cb29af12b0e67fda3f924585b23cee0b567.tar.gz |
fixed unhashable instance and potential exception as listed in LGTM#19077
Diffstat (limited to 'numpy/array_api/_typing.py')
-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 d530a91ae..8b7832d74 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 |