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

Method __init__

bpython/test/test_crashers.py:55–59  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

53 STATES = (SEND_INPUT, COLLECT) = range(2)
54
55 def __init__(self):
56 self.data = ""
57 self.delayed_call = None
58 self.states = iter(self.STATES)
59 self.state = next(self.states)
60
61 def outReceived(self, data):
62 self.data += data.decode(encoding)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected