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

Function _get_module_path

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

Source from the content-addressed store, hash-verified

300# Given a module name, return the potential file path in the
301# archive (without extension).
302def _get_module_path(self, fullname):
303 return self.prefix + fullname.rpartition('.')[2]
304
305# Does this path represent a directory?
306def _is_dir(self, path):

Callers 5

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.45

Tested by

no test coverage detected