Function params with **? what do these mean?

Ben Cartwright bencvt at gmail.com
Mon Mar 20 19:30:57 EST 2006


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.

--Ben




More information about the Python-list mailing list