]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add a note about "as" not being a keyword, though it has special meaning
authorFred Drake <fdrake@acm.org>
Tue, 18 Jun 2002 19:18:21 +0000 (19:18 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 18 Jun 2002 19:18:21 +0000 (19:18 +0000)
when used as part of the import statement.

Note that both "as" and "None" becoming keywords in the future.

Closes SF bug #553262.

Doc/ref/ref2.tex

index 3a8bba2de5849211ff36673b57af8d00613b48d0..6c38ba710af7cd52549ad31c746c874e9268e1ca 100644 (file)
@@ -280,6 +280,13 @@ in the \module{__builtin__} module.  When not in interactive mode,
 \samp{_} has no special meaning and is not defined.
 \end{description}
 
+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.
+
 
 \section{Literals\label{literals}}