[Python-checkins] r46412 - python/branches/release24-maint/Doc/ref/ref2.tex

georg.brandl python-checkins at python.org
Fri May 26 22:16:27 CEST 2006


Author: georg.brandl
Date: Fri May 26 22:16:26 2006
New Revision: 46412

Modified:
   python/branches/release24-maint/Doc/ref/ref2.tex
Log:
Patch #1492218: document None being a constant.



Modified: python/branches/release24-maint/Doc/ref/ref2.tex
==============================================================================
--- python/branches/release24-maint/Doc/ref/ref2.tex	(original)
+++ python/branches/release24-maint/Doc/ref/ref2.tex	Fri May 26 22:16:26 2006
@@ -322,8 +322,12 @@
 syntax of \keyword{import} statements, it is not currently a reserved
 word.
 
-In some future version of Python, the identifiers \code{as} and
-\code{None} will both become keywords.
+In Python 2.6, the identifier \code{as} will become a keyword.
+
+\versionchanged[\constant{None} became a constant and is now
+recognized by the compiler as a name for the builtin object
+\constant{None}.  Although it is not a keyword, you cannot assign
+a different object to it]{2.4}
 
 
 \subsection{Reserved classes of identifiers\label{id-classes}}


More information about the Python-checkins mailing list