On 14 juil, 07:32, Tim Roberts <[EMAIL PROTECTED]> wrote:
(snip)
> Everything has a boolean value in
> Python. 0, None, False, '' (empty string), [] (empty list), () (empty
> tuple), and {} (empty dictionary) all have a False value. Everything else
> has a True value.Unless the author of the class specified it otherwise (implementing the appropriate __magic_method__). -- http://mail.python.org/mailman/listinfo/python-list
