Fun with None

Oleg Broytmann phd at phd.pp.ru
Wed Aug 8 08:31:05 EDT 2001


On Wed, 8 Aug 2001, Alexandre Fayolle wrote:
> This may be old news, but I just accidentally discovered it was possible
> to assign a value to None.

   Old and well-known. :)

> >>> None = 3
> >>> None
> 3

del None
print None
del None # Oops :)))

Oleg.
----
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list