what exactly is "None" ?

Andrei Doicin Andrei.Doicin at cern.ch
Tue Mar 4 10:37:11 EST 2003


I know that "None" is the Boolean false value that
gets thrown out when there's nothing to return or a
function doesn't manage to reach the end of itself and thus "return
whatever", but *what* (in Python terms) exactly is equal to "None" ???

I ask this as I'm trying to set up some conditional statements that do
something if "whatever" is equal to "None".

thanks

A







More information about the Python-list mailing list