def choice_SA(parser, node, children):
    # If there is only one child reduce as
    # this ordered choice is unnecessary
    if 1 > len(children):
        return OrderedChoice(nodes=children[:])
    else:
        return children[0]
dataset/ETHPy150Open igordejanovic/textX/textx/textx.py/choice_SA/swapped operands of `>`