[Python-3000] PEP 3102 question
Alexander Belopolsky
alexander.belopolsky at gmail.com
Mon Mar 31 21:12:16 CEST 2008
Do I understand correctly that with PEP 3102 implemented, keyword
arguments can follow vararg in function definitions, but doing the
same when calling the function is still a syntax error?
With the latest py3k,
>>> def f(a, *args, v=None):
... pass
...
>>> f(a, *args, v=None)
File "<stdin>", line 1
f(a, *args, v=None)
^
SyntaxError: invalid syntax
Is this intentional?
More information about the Python-3000
mailing list