Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __init__
Method
__init__
Tools/unittestgui/unittestgui.py:192–193 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
190
will be reloaded the next time they are imported.
191
""
"
192
def
__init__(self):
193
self.previousModules = sys.modules.copy()
194
195
def
rollbackImports(self):
196
for
modname in sys.modules.copy().keys():
Callers
nothing calls this directly
Calls
1
copy
Method · 0.45
Tested by
no test coverage detected