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

Method _prompt_result

bpython/urwid.py:556–563  ·  view source on GitHub ↗
(self, text)

Source from the content-addressed store, hash-verified

554 self.frame.set_focus("footer")
555
556 def _prompt_result(self, text):
557 self.frame.set_focus("body")
558 if self.callback is not None:
559 # The callback might want to start another prompt, so reset it
560 # before calling the callback.
561 callback = self.callback
562 self.callback = None
563 callback(text)
564
565 def file_prompt(self, s: str) -> str | None:
566 raise NotImplementedError

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected