def p_arglist6(p):
    args = []
    kws = []
    arglist = p[1]
    arg = p[2]
    # TODO get the proper linenumber for the argument
    arg.lineno = arglist[-1].lineno
    items = arglist + [arg]
    _validate_arglist_list(items, p.lexer.lexer)
    for arg in items:
        if isinstance(arg, ast.keyword):
            kws.append(arg)
        else:
            args.append(arg)
    p[0] = Arguments(args=args, keywords=kws)
arglist : arglist_list argument
dataset/ETHPy150Open nucleic/enaml/enaml/core/parser.py/p_arglist6