None, False, True

Indigo Moon Man indigomoon at bonbonBLINDERS.net
Tue Sep 16 14:44:21 EDT 2003


M-a-S <NO-MAIL at hotmail.com> spake thusly:
> Can anybody explain this:
>
> Python 2.3 (#46, Jul 29 2003, 18:54:32) [MSC v.1200 32 bit (Intel)] on
> win32 Type "help", "copyright", "credits" or "license" for more
> information.
>>>>
>>>> None = 3
> <stdin>:1: SyntaxWarning: assignment to None
>>>> False = 4
>>>> True = 5
>>>>
>>>> None, False, True
> (3, 4, 5)

http://www.ibiblio.org/obp/thinkCSpy/chap05.htm

In section 5.9 (Glossary) near the bottom of the link above I found this
entry for None...

None
A special Python value returned by functions that have no
return statement, or a return statement without an argument.

Maybe that has something to do with it.

-- 
Remove BLINDERS to email me.
Audio Bible Online:
http://www.audio-bible.com/






More information about the Python-list mailing list