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

Method __init__

bpython/urwid.py:526–531  ·  view source on GitHub ↗
(self, config, statusbar, frame)

Source from the content-addressed store, hash-verified

524
525class URWIDInteraction(repl.Interaction):
526 def __init__(self, config, statusbar, frame):
527 super().__init__(config)
528 self.statusbar = statusbar
529 self.frame = frame
530 urwid.connect_signal(statusbar, "prompt_result", self._prompt_result)
531 self.callback = None
532
533 def confirm(self, q, callback):
534 """Ask for yes or no and call callback to return the result"""

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected