MCPcopy Create free account
hub / github.com/bpython/bpython / on_suspend

Method on_suspend

bpython/curtsies.py:121–123  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

119 return self.window.top_usable_row
120
121 def on_suspend(self) -> None:
122 self.window.__exit__(None, None, None)
123 self.input_generator.__exit__(None, None, None)
124
125 def after_suspend(self) -> None:
126 self.input_generator.__enter__()

Callers

nothing calls this directly

Calls 1

__exit__Method · 0.45

Tested by

no test coverage detected