MCPcopy Index your code
hub / github.com/RustPython/RustPython / _get_spec

Method _get_spec

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

Source from the content-addressed store, hash-verified

1350 self._path_mtime = -1
1351
1352 def _get_spec(self, loader_class, fullname, path, smsl, target):
1353 loader = loader_class(fullname, path)
1354 return spec_from_file_location(fullname, path, loader=loader,
1355 submodule_search_locations=smsl)
1356
1357 def find_spec(self, fullname, target=None):
1358 """Try to find a spec for the specified module.

Callers 1

find_specMethod · 0.95

Calls 1

spec_from_file_locationFunction · 0.70

Tested by

no test coverage detected