From 33693ea92a8e4947daffb1f7b6be460c38c75b9b Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 3 Apr 1992 16:33:00 +0000 Subject: '+' no longer accepted for varargs list --- Lib/test/test_grammar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_grammar.py b/Lib/test/test_grammar.py index 9662439..6cfda0f 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 -- cgit v0.12