From: Guido van Rossum Date: Fri, 3 Apr 1992 16:33:00 +0000 (+0000) Subject: '+' no longer accepted for varargs list X-Git-Tag: v0.9.8~396 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33693ea92a8e4947daffb1f7b6be460c38c75b9b;p=thirdparty%2FPython%2Fcpython.git '+' no longer accepted for varargs list --- diff --git a/Lib/test/test_grammar.py b/Lib/test/test_grammar.py index 9662439669c9..6cfda0fb816d 100644 --- a/Lib/test/test_grammar.py +++ b/Lib/test/test_grammar.py @@ -76,7 +76,7 @@ x = eval('1, 0 or 1') print 'funcdef' ### 'def' NAME parameters ':' suite ### parameters: '(' [varargslist] ')' -### varargslist: (fpdef ',')* ('+'|'*') NAME | fpdef (',' fpdef)* [','] +### varargslist: (fpdef ',')* '*' NAME | fpdef (',' fpdef)* [','] ### fpdef: NAME | '(' fplist ')' ### fplist: fpdef (',' fpdef)* [','] def f1(): pass