[ZPT] false values

Evan Simpson evan@zope.com
Tue, 08 Jan 2002 10:02:19 -0500


Michael R. Bernstein wrote:

> So, my question is, is this list complete? Shouldn't empty dictionaries
> and tuples evaluate as false too?

Yes, any 'false' Python value will evaluate as false.

Cheers,

Evan @ Zope