Tim Roberts wrote: > 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.
Empty set objects also evaluate as false in a boolean context. Jeffrey -- http://mail.python.org/mailman/listinfo/python-list