MCPcopy Create free account
hub / github.com/Nuitka/Nuitka / generateModuleAttributeCode

Function generateModuleAttributeCode

nuitka/code_generation/ModuleCodes.py:265–274  ·  view source on GitHub ↗
(to_name, expression, emit, context)

Source from the content-addressed store, hash-verified

263
264
265def generateModuleAttributeCode(to_name, expression, emit, context):
266 getModuleVariableReferenceCode(
267 to_name=to_name,
268 variable_name=expression.getVariable().getName(),
269 use_caching=False,
270 needs_check=False,
271 conversion_check=decideConversionCheckNeeded(to_name, expression),
272 emit=emit,
273 context=context,
274 )
275
276
277# Part of "Nuitka", an optimizing Python compiler that is compatible and

Callers

nothing calls this directly

Calls 4

getNameMethod · 0.45
getVariableMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…