summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-01-07 22:05:25 (GMT)
committerFred Drake <fdrake@acm.org>1998-01-07 22:05:25 (GMT)
commitfcda560e81d84c36c3007937d398c7a17b5b854c (patch)
tree7404411c60bbb36485174b2d1447a9deb9000d23
parentc9a32ab26bb5fc9cb715d341aedefd0b70302fd4 (diff)
downloadcpython-fcda560e81d84c36c3007937d398c7a17b5b854c.zip
cpython-fcda560e81d84c36c3007937d398c7a17b5b854c.tar.gz
cpython-fcda560e81d84c36c3007937d398c7a17b5b854c.tar.bz2
Fix a typo (the word "a" was spelled "c"!).
Added index entries & \label{} constructs.
-rw-r--r--Doc/lib/libuserdict.tex7
-rw-r--r--Doc/libuserdict.tex7
2 files changed, 12 insertions, 2 deletions
diff --git a/Doc/lib/libuserdict.tex b/Doc/lib/libuserdict.tex
index e47babd..1c7edc0 100644
--- a/Doc/lib/libuserdict.tex
+++ b/Doc/lib/libuserdict.tex
@@ -1,4 +1,8 @@
\section{Standard Modules \sectcode{UserDict} and \sectcode{UserList}}
+\stmodindex{UserDict}
+\label{module-UserDict}
+\label{module-UserList}
+
Each of these modules defines a class that acts as a wrapper around
either dictionary or list objects. They're useful base classes for
your own dictionary-like or list-like classes, which can inherit from
@@ -14,6 +18,7 @@ contents are kept in a regular dictionary, which is accessible via the
\code{data} attribute of \code{UserDict} instances.
\end{funcdesc}
+\stmodindex{UserList}
\renewcommand{\indexsubitem}{(in module UserList)}
The \code{UserList} module defines the \code{UserList} class:
@@ -21,7 +26,7 @@ The \code{UserList} module defines the \code{UserList} class:
Return a class instance that simulates a list. The instance's
contents are kept in a regular list, which is accessible via the
\code{data} attribute of \code{UserList} instances. The instance's
-contents are initially set to c copy of \var{list}, defaulting to the
+contents are initially set to a copy of \var{list}, defaulting to the
empty list \code{[]}. \var{list} can be either a regular Python list,
or an instance of \code{UserList} (or a subclass).
\end{funcdesc}
diff --git a/Doc/libuserdict.tex b/Doc/libuserdict.tex
index e47babd..1c7edc0 100644
--- a/Doc/libuserdict.tex
+++ b/Doc/libuserdict.tex
@@ -1,4 +1,8 @@
\section{Standard Modules \sectcode{UserDict} and \sectcode{UserList}}
+\stmodindex{UserDict}
+\label{module-UserDict}
+\label{module-UserList}
+
Each of these modules defines a class that acts as a wrapper around
either dictionary or list objects. They're useful base classes for
your own dictionary-like or list-like classes, which can inherit from
@@ -14,6 +18,7 @@ contents are kept in a regular dictionary, which is accessible via the
\code{data} attribute of \code{UserDict} instances.
\end{funcdesc}
+\stmodindex{UserList}
\renewcommand{\indexsubitem}{(in module UserList)}
The \code{UserList} module defines the \code{UserList} class:
@@ -21,7 +26,7 @@ The \code{UserList} module defines the \code{UserList} class:
Return a class instance that simulates a list. The instance's
contents are kept in a regular list, which is accessible via the
\code{data} attribute of \code{UserList} instances. The instance's
-contents are initially set to c copy of \var{list}, defaulting to the
+contents are initially set to a copy of \var{list}, defaulting to the
empty list \code{[]}. \var{list} can be either a regular Python list,
or an instance of \code{UserList} (or a subclass).
\end{funcdesc}