MCPcopy Index your code
hub / github.com/RustPython/RustPython / exec_module

Method exec_module

Lib/importlib/_bootstrap.py:1175–1179  ·  view source on GitHub ↗
(module)

Source from the content-addressed store, hash-verified

1173
1174 @staticmethod
1175 def exec_module(module):
1176 spec = module.__spec__
1177 name = spec.name
1178 code = _call_with_frames_removed(_imp.get_frozen_object, name)
1179 exec(code, module.__dict__)
1180
1181 @classmethod
1182 def load_module(cls, fullname):

Callers 2

_execFunction · 0.45
_load_unlockedFunction · 0.45

Calls 2

execFunction · 0.50

Tested by

no test coverage detected