summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-04-03 16:33:00 (GMT)
committerGuido van Rossum <guido@python.org>1992-04-03 16:33:00 (GMT)
commit33693ea92a8e4947daffb1f7b6be460c38c75b9b (patch)
treeb263c9010ea65bfec3aa4e2467455c64c12df0b5 /Lib/test
parentceb3ba2afcbd4174b55744b5ad2560e081708061 (diff)
downloadcpython-33693ea92a8e4947daffb1f7b6be460c38c75b9b.zip
cpython-33693ea92a8e4947daffb1f7b6be460c38c75b9b.tar.gz
cpython-33693ea92a8e4947daffb1f7b6be460c38c75b9b.tar.bz2
'+' no longer accepted for varargs list
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_grammar.py2
1 files changed, 1 insertions, 1 deletions
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