def flush(self):
        try:
            self._connection.send(b''.join(self._buffer))
        except socket.error as e:
            logger.error(e % "Couldn't send data over socket: %s")

        self._buffer = []
dataset/ETHPy150Open jonathanslenders/python-prompt-toolkit/prompt_toolkit/contrib/telnet/server.py/_ConnectionStdout.flush/swapped operands of `%`