Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ restore
Method
restore
Lib/_pyrepl/reader.py:614–616 ·
view source on GitHub ↗
Clean up after a run.
(self)
Source
from the content-addressed store, hash-verified
612
return
issubclass(cls, self.last_command)
613
614
def
restore(self) -> None:
615
""
"Clean up after a run."
""
616
self.console.restore()
617
618
@contextmanager
619
def
suspend(self) -> SimpleContextManager:
Callers
7
prepare
Method · 0.95
suspend
Method · 0.95
readline
Method · 0.95
restore
Function · 0.45
do
Method · 0.45
show
Method · 0.45
prepare
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected