**kwargs?

Peter Hansen peter at engcorp.com
Wed Jul 13 08:55:37 EDT 2005


Francois De Serres wrote:
> All your **kwargs are belong to us.
> 
> *args is documented in the Tutorial. I reckon **kwargs represents a 
> dictionary of arguments. But I don't quite get the semantics of **x. 
> Undefined length tuple of undefined length tuples? Are there other 
> practical use cases for ** (common enough please, I wish I was, but I'm 
> not a scientist).

Where did you get "tuples of tuples" for **x ?  It doesn't have tuples 
at all, but is merely a dictionary, as you said in the first place.  Are 
you implying you think **kwargs and **x are somehow magically different?

-Peter



More information about the Python-list mailing list