diff options
author | Fred Drake <fdrake@acm.org> | 1999-03-05 18:30:21 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-03-05 18:30:21 (GMT) |
commit | 39fc1bc32959e68e1e38c1ca4adb6ac135598359 (patch) | |
tree | 694b96509665bfeda5e9d96cf3cc66dee90ea301 | |
parent | 57ed139c221f5258f9c6c3a5c4fe939511418e2e (diff) | |
download | cpython-39fc1bc32959e68e1e38c1ca4adb6ac135598359.zip cpython-39fc1bc32959e68e1e38c1ca4adb6ac135598359.tar.gz cpython-39fc1bc32959e68e1e38c1ca4adb6ac135598359.tar.bz2 |
Added note about __builtin__._ to section dicussing classes of
reserved names, just to avoid confusion on the part of users.
-rw-r--r-- | Doc/ref/ref2.tex | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/Doc/ref/ref2.tex b/Doc/ref/ref2.tex index 246bc32..8d106b6 100644 --- a/Doc/ref/ref2.tex +++ b/Doc/ref/ref2.tex @@ -263,14 +263,24 @@ def finally in print Certain classes of identifiers (besides keywords) have special meanings. These are: -\begin{tableii}{l|l}{code}{Form}{Meaning} -\lineii{_*}{Not imported by \samp{from \var{module} import *}} -\lineii{__*__}{System-defined name} -\lineii{__*}{Class-private name mangling} -\end{tableii} +\begin{tableiii}{l|l|l}{code}{Form}{Meaning}{Notes} +\lineiii{_*}{Not imported by \samp{from \var{module} import *}}{(1)} +\lineiii{__*__}{System-defined name}{} +\lineiii{__*}{Class-private name mangling}{} +\end{tableiii} (XXX need section references here.) +Note: + +\begin{description} +\item[(1)] The special identifier \samp{_} is used in the interactive +interpreter to store the result of the last evaluation; it is stored +in the \module{__builtin__} module. When not in interactive mode, +\samp{_} has no special meaning and is not defined. +\end{description} + + \section{Literals\label{literals}} Literals are notations for constant values of some built-in types. |