Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ modules_setup
Function
modules_setup
Lib/test/support/import_helper.py:263–264 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
261
262
263
def
modules_setup():
264
return
sys.modules.copy(),
265
266
267
def
modules_cleanup(oldmodules):
Callers
1
isolated_modules
Function · 0.85
Calls
1
copy
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…