">

(original) (raw)

Python 2.4a1+ (#46, Jul 14 2004, 04:25:40) \[MSC v.1200 32 bit (Intel)\] on win32

Type "copyright", "credits" or "license()" for more information.  

IDLE 1.1a2     

>>> None = 0

SyntaxError: assignment to None (<pyshell#0>, line 1)

>>> def f():

            None \= 0

           

SyntaxError: assignment to None (<pyshell#2>, line 2)

 

 

Do this imply that the compiler can now treat None as a constant?

 

 

Raymond Hettinger