Steven D'Aprano <st...@pearwood.info>: > int 0 is a falsey object > NoneType None is a falsey object > str 'hello' is a truthy object > float 23.0 is a truthy object
I prefer the Scheme way: #f is a falsey object everything else is a truthy object Marko -- https://mail.python.org/mailman/listinfo/python-list