[Python-3000] Using *a for packing in lists and other places
Phillip J. Eby
pje at telecommunity.com
Sun Mar 16 18:48:25 CET 2008
At 10:00 AM 3/16/2008 -0500, Guido van Rossum wrote:
>(a) *if* we're going to do this, it should also be done for function
>calls (though not for function defs). I'd like all of these to be
>legal (and their interpretation is obvious):
>
> f(a, b, *x, k=val)
> f(a, *x, b, k=val)
> f(*x, a, b, k=val, **kw=stuff)
What does **kw=stuff do?
More information about the Python-3000
mailing list