diff options
author | Guido van Rossum <guido@python.org> | 1992-04-03 16:33:00 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-04-03 16:33:00 (GMT) |
commit | 33693ea92a8e4947daffb1f7b6be460c38c75b9b (patch) | |
tree | b263c9010ea65bfec3aa4e2467455c64c12df0b5 /Lib/test/test_grammar.py | |
parent | ceb3ba2afcbd4174b55744b5ad2560e081708061 (diff) | |
download | cpython-33693ea92a8e4947daffb1f7b6be460c38c75b9b.zip cpython-33693ea92a8e4947daffb1f7b6be460c38c75b9b.tar.gz cpython-33693ea92a8e4947daffb1f7b6be460c38c75b9b.tar.bz2 |
'+' no longer accepted for varargs list
Diffstat (limited to 'Lib/test/test_grammar.py')
-rw-r--r-- | Lib/test/test_grammar.py | 2 |
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 |