def write(self, b):
    wrote = self._first.write(b)
    self._first.flush()
    self._second.write(b)
    self._second.flush()
def write(self, b):
    wrote = self._first.write(b)
    self._first.flush()
    self._second.write(b)
    self._second.flush()