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

Function _get_module_info

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

Source from the content-addressed store, hash-verified

262
263# Return some information about a module.
264def _get_module_info(self, fullname):
265 path = _get_module_path(self, fullname)
266 for suffix, isbytecode, ispackage in _zip_searchorder:
267 fullpath = path + suffix
268 if fullpath in self._get_files():
269 return ispackage
270 return None
271
272
273# implementation

Callers 3

find_specMethod · 0.85
get_sourceMethod · 0.85
is_packageMethod · 0.85

Calls 2

_get_module_pathFunction · 0.85
_get_filesMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…