Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ get_module
Method
get_module
Lib/test/libregrtest/save_env.py:78–80 ·
view source on GitHub ↗
(self, name)
Source
from the content-addressed store, hash-verified
76
)
77
78
def
get_module(self, name):
79
# function for restore() methods
80
return
sys.modules[name]
81
82
def
try_get_module(self, name):
83
# function for get() methods
Callers
11
try_get_module
Method · 0.95
restore_urllib_requests__opener
Method · 0.95
restore_asyncio_events__event_loop_policy
Method · 0.95
restore_warnings_filters
Method · 0.95
restore_shutil_archive_formats
Method · 0.95
restore_shutil_unpack_formats
Method · 0.95
restore_multiprocessing_process__dangling
Method · 0.95
restore_sysconfig__CONFIG_VARS
Method · 0.95
restore_sysconfig__INSTALL_SCHEMES
Method · 0.95
restore_warnings_showwarning
Method · 0.95
restore_stty_echo
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected