diff options
author | Guido van Rossum <guido@python.org> | 1992-04-06 12:36:19 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-04-06 12:36:19 (GMT) |
commit | 02334d2be0207caf2feaec2e5577e5b762efac48 (patch) | |
tree | 7fd83ee6af85233e571222a9490635ffa89c9c98 /Grammar | |
parent | 57639655c712ba8d88a3cb71759ec5d438ccabb4 (diff) | |
download | cpython-02334d2be0207caf2feaec2e5577e5b762efac48.zip cpython-02334d2be0207caf2feaec2e5577e5b762efac48.tar.gz cpython-02334d2be0207caf2feaec2e5577e5b762efac48.tar.bz2 |
Use only '*' for varargs list
Diffstat (limited to 'Grammar')
-rw-r--r-- | Grammar/Grammar | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Grammar/Grammar b/Grammar/Grammar index 24dc70e..e9c0091 100644 --- a/Grammar/Grammar +++ b/Grammar/Grammar @@ -69,7 +69,7 @@ eval_input: testlist NEWLINE* ENDMARKER funcdef: 'def' NAME parameters ':' suite parameters: '(' [varargslist] ')' -varargslist: (fpdef ',')* ('+'|'*') NAME | fpdef (',' fpdef)* [','] +varargslist: (fpdef ',')* '*' NAME | fpdef (',' fpdef)* [','] fpdef: NAME | '(' fplist ')' fplist: fpdef (',' fpdef)* [','] |