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

Method getRuntimeNameValue

nuitka/nodes/ModuleNodes.py:745–751  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

743 return None
744
745 def getRuntimeNameValue(self):
746 if self.isMainModule() and hasPythonFlagPackageMode():
747 return "__main__"
748 elif self.module_name.isMultidistModuleName():
749 return "__main__"
750 else:
751 return self.getFullName().asString()
752
753
754class CompiledPythonPackage(CompiledPythonModule):

Callers 1

computeExpressionRawMethod · 0.80

Calls 5

hasPythonFlagPackageModeFunction · 0.90
isMultidistModuleNameMethod · 0.80
getFullNameMethod · 0.80
isMainModuleMethod · 0.45
asStringMethod · 0.45

Tested by

no test coverage detected