MCPcopy Index your code
hub / github.com/Nuitka/Nuitka / getSourceCode

Method getSourceCode

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

Source from the content-addressed store, hash-verified

407 return graph
408
409 def getSourceCode(self):
410 if self.source_code is not None:
411 return self.source_code
412 else:
413 # This should of course give same result as before.
414 return readSourceCodeFromFilename(
415 module_name=self.getFullName(),
416 source_filename=self.getCompileTimeFilename(),
417 )
418
419 def setSourceCode(self, code):
420 self.source_code = code

Callers 3

_createModulePyiFileFunction · 0.45

Calls 3

getFullNameMethod · 0.80

Tested by

no test coverage detected