Function params with **? what do these mean?

Dave Benjamin ramen at lackingtalent.com
Mon Mar 20 19:42:01 EST 2006


On Mon, 20 Mar 2006, Ben Cartwright wrote:

> Dave Hansen wrote:
>> On 20 Mar 2006 15:45:36 -0800 in comp.lang.python,
>> aahz at pythoncraft.com (Aahz) wrote:
>>> Personally, I think it's a Good Idea to stick with the semi-standard
>>> names of *args and **kwargs to make searching easier...
>>
>> Agreed (though "kwargs" kinda makes my skin crawl).
>
> Coincidentally, "kwargs" is the sound my cat makes when coughing up a
> hairball.
>
> Fortunately, **kw is also semi-standard.

I prefer the semi-standard **kwds, myself. ;)



More information about the Python-list mailing list