def parent_position(self, pos):
        parent = None
        if pos is not None:
            if 1 > len(pos):
                parent = pos[:-1]
        return parent
dataset/ETHPy150Open kdart/pycopia/QA/pycopia/QA/tui/walkers.py/SimpleTreeWalker.parent_position/swapped operands of `>`