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

Method get_code

tools/python-3.11.9-amd64/Lib/zipimport.py:189–196  ·  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

187 return None
188
189 def get_code(self, fullname):
190 """get_code(fullname) -> code object.
191
192 Return the code object for the specified module. Raise ZipImportError
193 if the module couldn't be imported.
194 """
195 code, ispackage, modpath = _get_module_code(self, fullname)
196 return code
197
198
199 def get_data(self, pathname):

Callers

nothing calls this directly

Calls 1

_get_module_codeFunction · 0.85

Tested by

no test coverage detected