diff --git a/src/wormhole/_boss.py b/src/wormhole/_boss.py index a8cf5e4..f6c89f7 100644 --- a/src/wormhole/_boss.py +++ b/src/wormhole/_boss.py @@ -114,11 +114,11 @@ class Boss(object): # would require the Wormhole to be aware of Code (whereas right now # Wormhole only knows about this Boss instance, and everything else is # hidden away). - def input_code(self, stdio): + def input_code(self, helper): if self._did_start_code: raise OnlyOneCodeError() self._did_start_code = True - self._C.input_code(stdio) + self._C.input_code(helper) def allocate_code(self, code_length): if self._did_start_code: raise OnlyOneCodeError() diff --git a/src/wormhole/_code.py b/src/wormhole/_code.py index 307dc5e..ac4d30c 100644 --- a/src/wormhole/_code.py +++ b/src/wormhole/_code.py @@ -52,7 +52,7 @@ class Code(object): @m.input() def allocate_code(self, code_length): pass @m.input() - def input_code(self, stdio): pass + def input_code(self, input_helper): pass @m.input() def set_code(self, code): pass @@ -80,8 +80,8 @@ class Code(object): def L_refresh_nameplates(self): self._L.refresh_nameplates() @m.output() - def start_input_and_L_refresh_nameplates(self, stdio): - self._stdio = stdio + def start_input_and_L_refresh_nameplates(self, input_helper): + self._input_helper = input_helper self._L.refresh_nameplates() @m.output() def stash_code_length_and_RC_tx_allocate(self, code_length):