equivalent of NULL or OM in Python

Daniel Klein DanielK at jBASE.com
Fri Feb 16 23:23:50 CET 2001


Thanks for setting me straight, Tim.

Dan

"Tim Peters" <tim.one at home.com> wrote in message
news:mailman.982360339.1235.python-list at python.org...
> [Daniel Klein]
> > ...
> > In Python, when an object has not been initialized, it is set to
> > 'None' (quotes are for clarity),
>
> No.  An unbound variable is not bound to anything; that's why it's called
> unbound <0.9 wink>.  Attempting to reference an uninitialized variable in
> Python raises an exception (a subclass of NameError).
>
>





More information about the Python-list mailing list