Le 08/04/2011 18:41, Benjamin Kaplan a écrit :

bool(x=5) is just passing the value 5 as the argument "x" to the function.



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.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to