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

Method get_code

Lib/zipimport.py:125–132  ·  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

123 return None
124
125 def get_code(self, fullname):
126 """get_code(fullname) -> code object.
127
128 Return the code object for the specified module. Raise ZipImportError
129 if the module couldn't be imported.
130 """
131 code, ispackage, modpath = _get_module_code(self, fullname)
132 return code
133
134
135 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