[Python-checkins] python/dist/src/Doc/ref ref2.tex,1.34.6.1,1.34.6.2
fdrake@users.sourceforge.net
fdrake@users.sourceforge.net
Tue, 18 Jun 2002 12:18:05 -0700
Update of /cvsroot/python/python/dist/src/Doc/ref
In directory usw-pr-cvs1:/tmp/cvs-serv24543/ref
Modified Files:
Tag: release22-maint
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.34.6.1
retrieving revision 1.34.6.2
diff -C2 -d -r1.34.6.1 -r1.34.6.2
*** ref2.tex 15 Mar 2002 23:18:05 -0000 1.34.6.1
--- ref2.tex 18 Jun 2002 19:18:02 -0000 1.34.6.2
***************
*** 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}}