Python allows you set the value of True

>>> True = 1.3

Now this is consistent with the decision to let you set the
value of various builtin names.  But why is this case different:

>>> None = 1.3
  File "<stdin>", line 1
SyntaxError: cannot assign to None

Mark Gawron
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to