WANTED: A good name for the pair (args, kwargs)

Tim Chase python.list at tim.thechases.com
Thu Mar 4 13:50:14 CET 2010


Jonathan Fine wrote:
> We can call a function fn using
>      val = fn(*args, **kwargs)
> 
> I'm looking for a good name for the pair (args, kwargs).  Any suggestions?
> 
> For now I'll use argpair, but if anyone has a better idea, I'll use it.

In the legacy of C and Java (okay, that doesn't carry _much_ 
weight with me), I'd go with "varargs" to refer to the pair of 
(args, kwargs)

-tkc






More information about the Python-list mailing list