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

Function _new_module

Lib/importlib/_bootstrap.py:48–49  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

46
47
48def _new_module(name):
49 return type(sys)(name)
50
51
52# Module-level locking ########################################################

Callers 2

module_from_specFunction · 0.70
create_moduleMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected