MCPcopy 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

prepareMethod · 0.95
suspendMethod · 0.95
readlineMethod · 0.95
restoreFunction · 0.45
doMethod · 0.45
showMethod · 0.45
prepareMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected