]> granicus.if.org Git - python/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:17:14 +0000 (19:17 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 18 Jun 2002 19:17:14 +0000 (19:17 +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 726aa212bbd31aaa3266416e5dfc6fdf5f8f91f1..e9fab58fd0d1da97792dcab00a2b624905756cb5 100644 (file)
@@ -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}}