diff options
author | Fred Drake <fdrake@acm.org> | 2002-06-18 19:17:14 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2002-06-18 19:17:14 (GMT) |
commit | a23b5739bb8edcb3d7a124ba258fd90b73206d31 (patch) | |
tree | 143f864c393f5e54799f6a992ee01c78887d6b44 | |
parent | 2683ac755d5fcb164926bdb2bc320dcb33bb58b0 (diff) | |
download | cpython-a23b5739bb8edcb3d7a124ba258fd90b73206d31.zip cpython-a23b5739bb8edcb3d7a124ba258fd90b73206d31.tar.gz cpython-a23b5739bb8edcb3d7a124ba258fd90b73206d31.tar.bz2 |
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.
-rw-r--r-- | Doc/ref/ref2.tex | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/ref/ref2.tex b/Doc/ref/ref2.tex index 726aa21..e9fab58 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}} |