MCPcopy Index your code
hub / github.com/python/cpython / suspend

Method suspend

Lib/_pyrepl/historical_reader.py:291–293  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

289
290 @contextmanager
291 def suspend(self) -> SimpleContextManager:
292 with super().suspend(), self.suspend_history():
293 yield
294
295 @contextmanager
296 def suspend_history(self) -> SimpleContextManager:

Callers

nothing calls this directly

Calls 2

suspend_historyMethod · 0.95
superClass · 0.85

Tested by

no test coverage detected