MCPcopy
hub / github.com/Nuitka/Nuitka / __init__

Method __init__

nuitka/nodes/ModuleNodes.py:906–922  ·  view source on GitHub ↗
(self, module_name, main_added, mode, future_spec, source_ref)

Source from the content-addressed store, hash-verified

904 __slots__ = ("main_added", "standard_library_modules")
905
906 def __init__(self, module_name, main_added, mode, future_spec, source_ref):
907 assert not shallMakeModule()
908
909 # Is this one from a "__main__.py" file
910 self.main_added = main_added
911
912 CompiledPythonModule.__init__(
913 self,
914 module_name=module_name,
915 reason="main",
916 is_top=True,
917 mode=mode,
918 future_spec=future_spec,
919 source_ref=source_ref,
920 )
921
922 self.standard_library_modules = ()
923
924 def getDetails(self):
925 return {

Callers

nothing calls this directly

Calls 2

shallMakeModuleFunction · 0.90
__init__Method · 0.45

Tested by

no test coverage detected