Implicit conversion to boolean in if and while statements

Ranting Rick rantingrickjohnson at
Tue Jul 17 06:18:18 CEST 2012

On Jul 16, 11:11 pm, Steven D'Aprano <steve
+comp.lang.pyt... at> wrote:

> I imagine though that the Python dev's answer will basically be #2: "it
> isn't a container, it just behaves a little bit like a container, except
> when it doesn't" kinda thing.

The emperor has no clothes!

More information about the Python-list mailing list