Unpacking sequences and keywords in one function call

OKB (not okblacke) brenNOSPAMbarn at NObrenSPAMbarn.net
Tue Nov 14 06:45:57 CET 2006

Steve Holden wrote:

> Noah Rawlins wrote:
> You should be ok as long as you use the following ordering of
> actual arguments in a function call:
>    1. Positional arguments
>    2. Keyword arguments
>    3. * sequence
>    4. ** dict

    	I was just wondering about this yesterday.  Is there a reason you 
can only unpack a sequence at the END of the positional argument list?

--OKB (not okblacke)
Brendan Barnwell
"Do not follow where the path may lead.  Go, instead, where there is
no path, and leave a trail."
	--author unknown

More information about the Python-list mailing list