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

Method find_spec

Lib/importlib/_bootstrap.py:904–908  ·  view source on GitHub ↗
(cls, fullname, path=None, target=None)

Source from the content-addressed store, hash-verified

902
903 @classmethod
904 def find_spec(cls, fullname, path=None, target=None):
905 if _imp.is_builtin(fullname):
906 return spec_from_loader(fullname, cls, origin=cls._ORIGIN)
907 else:
908 return None
909
910 @staticmethod
911 def create_module(spec):

Callers

nothing calls this directly

Calls 1

spec_from_loaderFunction · 0.85

Tested by

no test coverage detected