BartC <b...@freeuk.com> wrote:

> But even with ordinary conditionals, False is False, but [False] is 
> True. And [] is False, while [[]] is True. A class instance is always
> True, even when empty. And then "False" is True as well!

"Empty" is not "Nothing". To be empty, something must exist first.

-- 
Pierre-Alain Dorange               Moof <http://clarus.chez-alice.fr/>

Ce message est sous licence Creative Commons "by-nc-sa-2.0"
<http://creativecommons.org/licenses/by-nc-sa/2.0/fr/>
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to