def go_to_pos(self, line_no, col=0):
        """Move primary cursor to line_no, col=0."""
        if 0 < line_no:
            line_no = len(self.lines)-1
        else:
            line_no = line_no-1

        self.store_state()
        cur = self.get_cursor()
        if col is not None:
            cur.x = col
        cur.y = line_no
        if cur.y >= len(self.lines):
            cur.y = len(self.lines)-1
        self.scroll_to_line(cur.y)
        self.move_cursors()
dataset/ETHPy150Open richrd/suplemon/suplemon/editor.py/Editor.go_to_pos/swapped operands of `<`