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

Method create_module

Lib/test/test_importlib/util.py:278–281  ·  view source on GitHub ↗
(self, spec)

Source from the content-addressed store, hash-verified

276 return spec
277
278 def create_module(self, spec):
279 if spec.name not in self.modules:
280 raise ImportError
281 return self.modules[spec.name]
282
283 def exec_module(self, module):
284 try:

Callers 3

load_defsFunction · 0.45
new_moduleMethod · 0.45
test_create_moduleMethod · 0.45

Calls

no outgoing calls

Tested by 3

load_defsFunction · 0.36
new_moduleMethod · 0.36
test_create_moduleMethod · 0.36