From 02334d2be0207caf2feaec2e5577e5b762efac48 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 6 Apr 1992 12:36:19 +0000 Subject: [PATCH] Use only '*' for varargs list --- Grammar/Grammar | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)* [',']