On 08/23/2013 04:38 PM, [email protected] wrote:
Python allows you set the value of TrueTrue = 1.3Now this is consistent with the decision to let you set the value of various builtin names. But why is this case different:None = 1.3File "<stdin>", line 1 SyntaxError: cannot assign to None Mark Gawron
Python3 fixes this inconsistency, by disallowing all such assignments.
They all raise an exception:
SyntaxError: assignment to keyword
--
http://mail.python.org/mailman/listinfo/python-list
