def p_varargslist2(p):
    # def f(a, *args, **kwargs): pass
    # def f((a, b), *args, **kwargs): pass
    p[0] = ast.arguments(args=[p[1]], defaults=[], vararg=p[4], kwarg=p[7])
varargslist : fpdef COMMA STAR NAME COMMA DOUBLESTAR NAME
dataset/ETHPy150Open nucleic/enaml/enaml/core/parser.py/p_varargslist2