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

Function _get_module_path

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

Source from the content-addressed store, hash-verified

249# Given a module name, return the potential file path in the
250# archive (without extension).
251def _get_module_path(self, fullname):
252 return self.prefix + fullname.rpartition('.')[2]
253
254# Does this path represent a directory?
255def _is_dir(self, path):

Callers 4

find_specMethod · 0.85
get_sourceMethod · 0.85
_get_module_infoFunction · 0.85
_get_module_codeFunction · 0.85

Calls 1

rpartitionMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…