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

Function _get_module_info

Lib/zipimport.py:315–321  ·  view source on GitHub ↗
(self, fullname)

Source from the content-addressed store, hash-verified

313
314# Return some information about a module.
315def _get_module_info(self, fullname):
316 path = _get_module_path(self, fullname)
317 for suffix, isbytecode, ispackage in _zip_searchorder:
318 fullpath = path + suffix
319 if fullpath in self._get_files():
320 return ispackage
321 return None
322
323
324# implementation

Callers 3

find_specMethod · 0.70
get_sourceMethod · 0.70
is_packageMethod · 0.70

Calls 2

_get_module_pathFunction · 0.85
_get_filesMethod · 0.80

Tested by

no test coverage detected