Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ _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
48
def
_new_module(name):
49
return
type(sys)(name)
50
51
52
# Module-level locking ########################################################
Callers
2
module_from_spec
Function · 0.85
create_module
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…