summaryrefslogtreecommitdiff
path: root/numpy/lib/npyio.pyi
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/npyio.pyi')
-rw-r--r--numpy/lib/npyio.pyi1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/lib/npyio.pyi b/numpy/lib/npyio.pyi
index 9dd3d6809..cc81e82b7 100644
--- a/numpy/lib/npyio.pyi
+++ b/numpy/lib/npyio.pyi
@@ -98,6 +98,7 @@ class NpzFile(Mapping[str, NDArray[Any]]):
def __iter__(self) -> Iterator[str]: ...
def __len__(self) -> int: ...
def __getitem__(self, key: str) -> NDArray[Any]: ...
+ def __contains__(self, key: str) -> bool: ...
def __repr__(self) -> str: ...
# NOTE: Returns a `NpzFile` if file is a zip file;