mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
'+' no longer accepted for varargs list
This commit is contained in:
parent
ceb3ba2afc
commit
33693ea92a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue