def send(self, msg, timeout=0): """Appends the newline character to the string before sending.""" ClientServerSocket.send(self, msg + '\n', timeout=timeout)