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

Method _find

Lib/test/test_importlib/source/test_finder.py:185–187  ·  view source on GitHub ↗
(self, finder, name, loader_only=False)

Source from the content-addressed store, hash-verified

183 NOT_FOUND = None
184
185 def _find(self, finder, name, loader_only=False):
186 spec = finder.find_spec(name)
187 return spec.loader if spec is not None else spec
188
189
190(Frozen_FinderTestsPEP451,

Callers 5

import_Method · 0.45
test_ignore_fileMethod · 0.45

Calls 1

find_specMethod · 0.45

Tested by

no test coverage detected