summaryrefslogtreecommitdiff
path: root/numpy/array_api/_array_object.py
diff options
context:
space:
mode:
authorf380cedric <f380cedric@users.noreply.github.com>2023-04-25 15:47:48 +0200
committerf380cedric <f380cedric@users.noreply.github.com>2023-04-25 15:47:48 +0200
commitabfadc93082e70c2fd47412226436da448e0478c (patch)
treef6e0bdb484f52f567b7eba59d082a9b250476143 /numpy/array_api/_array_object.py
parenta87bc1ddce6eb04a2b81fbce0c7c1471f315daf5 (diff)
downloadnumpy-abfadc93082e70c2fd47412226436da448e0478c.tar.gz
EHN: add __contains__() to np.lib.npyio.NpzFile
NpzFile inherits from collections.abc.Mapping, which provides __contains__(). However, it calls __getitem__(), which can be slow because it performs file decompression on success.
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions