]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
clean up indexing for None, NotImplemented
authorFred Drake <fdrake@acm.org>
Thu, 1 Jan 2004 05:43:53 +0000 (05:43 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 1 Jan 2004 05:43:53 +0000 (05:43 +0000)
closes SF bug #820344

Doc/api/concrete.tex
Doc/ref/ref3.tex
Doc/ref/ref6.tex

index 99bb0df9d04233913c02b4b2e7c8b04524a0e69f..efcf2997b028ce29513b8d35a0229910fddf1057 100644 (file)
@@ -85,7 +85,7 @@ This section describes Python type objects and the singleton object
 
 \subsection{The None Object \label{noneObject}}
 
-\obindex{None@\texttt{None}}
+\obindex{None}
 Note that the \ctype{PyTypeObject} for \code{None} is not directly
 exposed in the Python/C API.  Since \code{None} is a singleton,
 testing for object identity (using \samp{==} in C) is sufficient.
index 61d77963b5a8e7858302e71dd3ca90d08a5e53a0..1daf18a169ebfce69c636ac45bbe26ac90bc6926 100644 (file)
@@ -134,8 +134,7 @@ This object is accessed through the built-in name \code{None}.
 It is used to signify the absence of a value in many situations, e.g.,
 it is returned from functions that don't explicitly return anything.
 Its truth value is false.
-\ttindex{None}
-\obindex{None@{\texttt{None}}}
+\obindex{None}
 
 \item[NotImplemented]
 This type has a single value.  There is a single object with this value.
@@ -144,8 +143,7 @@ Numeric methods and rich comparison methods may return this value if
 they do not implement the operation for the operands provided.  (The
 interpreter will then try the reflected operation, or some other
 fallback, depending on the operator.)  Its truth value is true.
-\ttindex{NotImplemented}
-\obindex{NotImplemented@{\texttt{NotImplemented}}}
+\obindex{NotImplemented}
 
 \item[Ellipsis]
 This type has a single value.  There is a single object with this value.
index e3b4427d6c31555d362a4e5d87b8eac227594b25..a389176eee0328dc8ec075fa1fef125fc56d2eaa 100644 (file)
@@ -48,7 +48,7 @@ function and the resulting string is written to standard output (see
 section~\ref{print}) on a line by itself.  (Expression statements
 yielding \code{None} are not written, so that procedure calls do not
 cause any output.)
-\ttindex{None}
+\obindex{None}
 \indexii{string}{conversion}
 \index{output}
 \indexii{standard}{output}