[Python-Dev] (no subject)
Benjamin Peterson
benjamin at python.org
Tue Feb 10 00:16:33 CET 2015
On Mon, Feb 9, 2015, at 17:12, Neil Girdhar wrote:
> Right,
>
> Just to be clear though: **-args must follow any *-args and position
> arguments. So at worst, your example is:
>
> f(x, y, *k, *b, c, **w, **d)
>
> Best,
Ah, I guess I was confused by this sentence in the PEP: " Function calls
currently have the restriction that keyword arguments must follow
positional arguments and ** unpackings must additionally follow *
unpackings."
That suggests that that rule is going to change.
More information about the Python-Dev
mailing list