MCPcopy Index your code
hub / github.com/bpython/bpython / _request_refresh

Method _request_refresh

bpython/curtsiesfrontend/repl.py:506–515  ·  view source on GitHub ↗

Arrange for the bpython display to be refreshed soon. This method will be called when the Repl wants to refresh the display, but wants control returned to it afterwards. (it is assumed that simply returning from process_event will cause an event refresh) The very ne

(self)

Source from the content-addressed store, hash-verified

504 # The methods below must be overridden in subclasses.
505
506 def _request_refresh(self):
507 """Arrange for the bpython display to be refreshed soon.
508
509 This method will be called when the Repl wants to refresh the display,
510 but wants control returned to it afterwards. (it is assumed that simply
511 returning from process_event will cause an event refresh)
512
513 The very next event received by process_event should be a
514 RefreshRequestEvent."""
515 raise NotImplementedError
516
517 def _request_reload(self, files_modified: Sequence[str]) -> None:
518 """Like request_refresh, but for reload requests events."""

Callers 1

request_refreshMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected