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

Aahz aahz at pythoncraft.com
Fri Mar 5 01:00:50 EST 2010


In article <mailman.284.1267707023.23598.python-list at python.org>,
Tim Chase <python.list at tim.thechases.com> wrote:
>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)

Ditto
-- 
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"Many customs in this life persist because they ease friction and promote
productivity as a result of universal agreement, and whether they are
precisely the optimal choices is much less important." --Henry Spencer


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /