def write(self, text, loglevel=None):
        """Writes the given text over the connection and appends a newline.

        Consumes the written text (until the appended newline) from
        the output and returns it. The given text must not contain
        newlines.

        Note: This keyword does not return the possible output of the
        executed command. To get the output, one of the `Read XXX`
        keywords must be used.

        See `Read` for more information on `loglevel`.
        """
        if text in self._newline:
            raise RuntimeError("Write cannot be used with string containing "
                               "newlines. Use 'Write Bare' instead.")
        text += self._newline
        self.write_bare(text)
        # Can't read until 'text' because long lines are cut strangely in the output
        return self.read_until(self._newline, loglevel)
dataset/ETHPy150Open shellderp/sublime-robot-plugin/lib/robot/libraries/Telnet.py/TelnetConnection.write/swapped operands of `in`