def parse_seq(tokens, options):
    """seq ::= ( atom [ '...' ] )* ;"""
    result = []
    while [None, ']', ')', '|'] not in tokens.current():
        atom = parse_atom(tokens, options)
        if tokens.current() == '...':
            atom = [OneOrMore(*atom)]
            tokens.move()
        result += atom
    return result
dataset/ETHPy150Open kmike/port-for/port_for/docopt.py/parse_seq/swapped operands of `not in`