mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +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'
|
print 'funcdef'
|
||||||
### 'def' NAME parameters ':' suite
|
### 'def' NAME parameters ':' suite
|
||||||
### parameters: '(' [varargslist] ')'
|
### parameters: '(' [varargslist] ')'
|
||||||
### varargslist: (fpdef ',')* ('+'|'*') NAME | fpdef (',' fpdef)* [',']
|
### varargslist: (fpdef ',')* '*' NAME | fpdef (',' fpdef)* [',']
|
||||||
### fpdef: NAME | '(' fplist ')'
|
### fpdef: NAME | '(' fplist ')'
|
||||||
### fplist: fpdef (',' fpdef)* [',']
|
### fplist: fpdef (',' fpdef)* [',']
|
||||||
def f1(): pass
|
def f1(): pass
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue