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

Method lineReceived

bpython/urwid.py:81–85  ·  view source on GitHub ↗
(self, line)

Source from the content-addressed store, hash-verified

79 self.repl = myrepl
80
81 def lineReceived(self, line) -> None:
82 # HACK!
83 # TODO: deal with encoding issues here...
84 self.repl.main_loop.process_input(line)
85 self.repl.main_loop.process_input(["enter"])
86
87 class EvalFactory(protocol.ServerFactory):
88 def __init__(self, myrepl):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected