Le 16/04/2011 23:13, Ben Finney a écrit :

The ‘bool’ built-in is not a function.

     >>>  type(bool)
     <type 'type'>



Oops, unfortunate confusion!! but built-in types and built-in functions are sometimes so similar from the user's point of view ;)

All the same, you can notice that the official documentation describes bool() as a built-in function, cf. http://docs.python.org/library/functions.html
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to