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

Function _get_module_path

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

Source from the content-addressed store, hash-verified

355# Given a module name, return the potential file path in the
356# archive (without extension).
357def _get_module_path(self, fullname):
358 return self.prefix + fullname.rpartition('.')[2]
359
360# Does this path represent a directory?
361def _is_dir(self, path):

Callers 6

find_loaderMethod · 0.85
find_specMethod · 0.85
get_sourceMethod · 0.85
load_moduleMethod · 0.85
_get_module_infoFunction · 0.85
_get_module_codeFunction · 0.85

Calls 1

rpartitionMethod · 0.80

Tested by

no test coverage detected