MCPcopy Create free account
hub / github.com/numpy/numpy / __contains__

Method __contains__

numpy/lib/npyio.py:265–266  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

263 raise KeyError(f"{key} is not a file in the archive")
264
265 def __contains__(self, key):
266 return (key in self._files or key in self.files)
267
268 def __repr__(self):
269 # Get filename or default to `object`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected