code: def _relay_data(self):
          "relay any data we have"
          if self._data:
              d = self._data
              self._data = b''
              # XXX this is "doing I/O" in the state-machine and it
              # really shouldn't be ... probably want a passed-in
              # "relay_data" callback or similar?
              self._sender.dataReceived(df _relay_data(self):
          "relay any data we have"
          if self._data:
              d = self._data
              self._data = b''
              # XXX this is "doing I/O" in the state-machine and it
              # really shouldn't be ... probably want a passed-in
              # "relay_data" callback or similar?
              self._sender.dataReceived(d)
docs: relay any data we have