while true: !!!

Emile van Sebille emile at fenx.com
Tue Dec 19 11:40:24 EST 2000


Tim Hochberg wrote:

> "David Porter" <jcm at bigskytel.com> wrote in message
> news:mailman.977231769.15324.python-list at python.org...
> 
>> * Alex Martelli <aleaxit at yahoo.com>:
>> 
>>> "Rainer Deyke" <root at rainerdeyke.com> wrote in message
>>> news:KTz%5.48644$x6.22165257 at news2.rdc2.tx.home.com...

<snip derivation of pre-existing documentation> 

> Coincendentally, this corresponds with the definition in section 5.10 of the
> Python Reference Manual:
> 
> "In the context of Boolean operations, and also when expressions are used by
> control flow statements, the following values are interpreted as false:
> None, numeric zero of all types, empty sequences (strings, tuples and
> lists), and empty mappings (dictionaries). All other values are interpreted
> as true."
> 
> -tim

Where do you get one of these time machines?

I-want-one-ly y'rs,

Emile van Sebille
emile at fenx.com




More information about the Python-list mailing list