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

Class EvalFactory

bpython/urwid.py:87–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85 self.repl.main_loop.process_input(["enter"])
86
87 class EvalFactory(protocol.ServerFactory):
88 def __init__(self, myrepl):
89 self.repl = myrepl
90
91 def buildProtocol(self, addr):
92 return EvalProtocol(self.repl)
93
94
95# If Twisted is not available urwid has no TwistedEventLoop attribute.

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected