Argument of the bool function

Chris Angelico rosuav at gmail.com
Sun Apr 10 15:02:43 CEST 2011


On Sun, Apr 10, 2011 at 10:54 PM, candide <candide at free.invalid> wrote:
> Anyway, passing x as a keyword argument to the bool function appears to be
> very rare : i did a regexp search for about 30000 source-code Python files
> (among them official Python source-code, Django, Sphinx, Eric source-code
> and many more sources of valuable Python code) and I didn't find even one.

Who would use keyword arguments with a function that takes only one arg anyway?

ChrisA



More information about the Python-list mailing list