]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
'+' no longer accepted for varargs list
authorGuido van Rossum <guido@python.org>
Fri, 3 Apr 1992 16:33:00 +0000 (16:33 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 3 Apr 1992 16:33:00 +0000 (16:33 +0000)
Lib/test/test_grammar.py

index 9662439669c988a6b8c1b9aff9eecaed381d9e60..6cfda0fb816d685e9bfb9def6777be0bbce8ed8d 100644 (file)
@@ -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