MCPcopy Index your code
hub / github.com/python/cpython / __getitem__

Method __getitem__

Lib/importlib/metadata/_itertools.py:167–171  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

165 yield from self._cache.keys()
166
167 def __getitem__(self, value):
168 if not self._validator(value):
169 return iter(())
170
171 return self._get_values(value)

Callers

nothing calls this directly

Calls 1

_get_valuesMethod · 0.95

Tested by

no test coverage detected