MCPcopy
hub / github.com/Nuitka/Nuitka / getRootTopModule

Function getRootTopModule

nuitka/ModuleRegistry.py:47–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45
46
47def getRootTopModule():
48 top_module = next(iter(root_modules))
49
50 assert top_module.isTopModule(), top_module
51
52 return top_module
53
54
55def hasRootModule(module_name):

Callers 4

_decideRecursionFunction · 0.90
getInternalModuleFunction · 0.90

Calls 1

isTopModuleMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…