mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Merged revisions 64622 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r64622 | benjamin.peterson | 2008-07-01 14:34:52 -0500 (Tue, 01 Jul 2008) | 1 line #3219 repeated keyword arguments aren't allowed in function calls anymore ........
This commit is contained in:
parent
13e89463e3
commit
07a1f94fb7
2 changed files with 15 additions and 1 deletions
|
@ -470,6 +470,12 @@ Make sure that the old "raise X, Y[, Z]" form is gone:
|
|||
...
|
||||
SyntaxError: invalid syntax
|
||||
|
||||
|
||||
>>> f(a=23, a=234)
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
SyntaxError: keyword argument repeated
|
||||
|
||||
"""
|
||||
|
||||
import re
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue