diff --git a/Grammar/Grammar b/Grammar/Grammar index 24dc70e3d88..e9c00919923 100644 --- a/Grammar/Grammar +++ b/Grammar/Grammar @@ -69,7 +69,7 @@ eval_input: testlist NEWLINE* ENDMARKER funcdef: 'def' NAME parameters ':' suite parameters: '(' [varargslist] ')' -varargslist: (fpdef ',')* ('+'|'*') NAME | fpdef (',' fpdef)* [','] +varargslist: (fpdef ',')* '*' NAME | fpdef (',' fpdef)* [','] fpdef: NAME | '(' fplist ')' fplist: fpdef (',' fpdef)* [',']