MCPcopy Index your code
hub / github.com/RustPython/RustPython / suspend

Method suspend

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

Source from the content-addressed store, hash-verified

290
291 @contextmanager
292 def suspend(self) -> SimpleContextManager:
293 with super().suspend(), self.suspend_history():
294 yield
295
296 @contextmanager
297 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