MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _get_module_info

Function _get_module_info

tools/python-3.11.9-amd64/Lib/zipimport.py:370–376  ·  view source on GitHub ↗
(self, fullname)

Source from the content-addressed store, hash-verified

368
369# Return some information about a module.
370def _get_module_info(self, fullname):
371 path = _get_module_path(self, fullname)
372 for suffix, isbytecode, ispackage in _zip_searchorder:
373 fullpath = path + suffix
374 if fullpath in self._files:
375 return ispackage
376 return None
377
378
379# implementation

Callers 4

find_loaderMethod · 0.85
find_specMethod · 0.85
get_sourceMethod · 0.85
is_packageMethod · 0.85

Calls 1

_get_module_pathFunction · 0.85

Tested by

no test coverage detected