From: Fred Drake Date: Tue, 18 Jun 2002 19:17:14 +0000 (+0000) Subject: Add a note about "as" not being a keyword, though it has special meaning X-Git-Tag: v2.3c1~5270 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a23b5739bb8edcb3d7a124ba258fd90b73206d31;p=python 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. --- diff --git a/Doc/ref/ref2.tex b/Doc/ref/ref2.tex index 726aa212bb..e9fab58fd0 100644 --- a/Doc/ref/ref2.tex +++ b/Doc/ref/ref2.tex @@ -272,6 +272,13 @@ def finally in print % 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}}