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

Method get_code

Lib/zipimport.py:130–137  ·  view source on GitHub ↗

get_code(fullname) -> code object. Return the code object for the specified module. Raise ZipImportError if the module couldn't be imported.

(self, fullname)

Source from the content-addressed store, hash-verified

128 return None
129
130 def get_code(self, fullname):
131 """get_code(fullname) -> code object.
132
133 Return the code object for the specified module. Raise ZipImportError
134 if the module couldn't be imported.
135 """
136 code, ispackage, modpath = _get_module_code(self, fullname)
137 return code
138
139
140 def get_data(self, pathname):

Callers 1

_get_module_detailsFunction · 0.45

Calls 1

_get_module_codeFunction · 0.85

Tested by

no test coverage detected