MCPcopy Index your code
hub / github.com/python/cpython / exec_module

Method exec_module

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

Source from the content-addressed store, hash-verified

1089
1090 @staticmethod
1091 def exec_module(module):
1092 spec = module.__spec__
1093 name = spec.name
1094 code = _call_with_frames_removed(_imp.get_frozen_object, name)
1095 exec(code, module.__dict__)
1096
1097 @classmethod
1098 @_requires_frozen

Callers 2

_execFunction · 0.45
_load_unlockedFunction · 0.45

Calls 1

Tested by

no test coverage detected