[docs] [issue21014] `1` => `True`; for tutorial docs

Terry J. Reedy report at bugs.python.org
Fri Mar 28 23:19:16 CET 2014


Terry J. Reedy added the comment:

Raymond, what I think you meant is that in 2.x, 'True' is a builtin name that can be shadowed by a user assignment "True = 'not true'" whereas in 3.x it is a keyword name like None that cannot be changed ("None = 'some'" fails even in 2.7).

I checked and the patch is needed in 3.4 and (I presume) 3.5.

----------
nosy: +terry.reedy
versions: +Python 3.4, Python 3.5 -Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21014>
_______________________________________


More information about the docs mailing list