[Python-checkins] python/dist/src/Doc/ref ref2.tex,1.36,1.37
fdrake@users.sourceforge.net
fdrake@users.sourceforge.net
Tue, 18 Jun 2002 12:17:17 -0700
Update of /cvsroot/python/python/dist/src/Doc/ref
In directory usw-pr-cvs1:/tmp/cvs-serv24337/ref
Modified Files:
ref2.tex
Log Message:
Add a note about "as" not being a keyword, though it has special meaning
when used as part of the import statement.
Note that both "as" and "None" becoming keywords in the future.
Closes SF bug #553262.
Index: ref2.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref2.tex,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** ref2.tex 23 Apr 2002 20:04:46 -0000 1.36
--- ref2.tex 18 Jun 2002 19:17:14 -0000 1.37
***************
*** 273,276 ****
--- 273,283 ----
% When adding keywords, use reswords.py for reformatting
+ Note that although the identifier \code{as} can be used as part of the
+ 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.
+
\subsection{Reserved classes of identifiers\label{id-classes}}