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

Method _get_spec

Lib/importlib/_bootstrap_external.py:1347–1350  ·  view source on GitHub ↗
(self, loader_class, fullname, path, smsl, target)

Source from the content-addressed store, hash-verified

1345 self._path_mtime = -1
1346
1347 def _get_spec(self, loader_class, fullname, path, smsl, target):
1348 loader = loader_class(fullname, path)
1349 return spec_from_file_location(fullname, path, loader=loader,
1350 submodule_search_locations=smsl)
1351
1352 def find_spec(self, fullname, target=None):
1353 """Try to find a spec for the specified module.

Callers 1

find_specMethod · 0.95

Calls 1

spec_from_file_locationFunction · 0.85

Tested by

no test coverage detected