what exactly is "None" ?

Erik Max Francis max at alcyone.com
Tue Mar 4 17:43:10 EST 2003


Mark McEahern wrote:

> None is a singleton.  I don't know whether it's correct to say that
> it's a
> Boolean false value.

Well, it certainly evaluates to false in a Boolean context, just as 0,
0.0, 0L, [], (), etc. do.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ The people are to be taken in very small doses.
\__/ Ralph Waldo Emerson
    Alcyone Systems / http://www.alcyone.com/
 Alcyone Systems, San Jose, California.




More information about the Python-list mailing list