summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2003-01-10 13:52:30 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2003-01-10 13:52:30 (GMT)
commit3cb68a25126b1436e4cd50902bc5362a1774018d (patch)
tree05bca36541aa9e1994a237d4d73d5e5ef99f10fd
parent6fe1299b098bc49d488ca1dd06f6557e62f76056 (diff)
downloadcpython-3cb68a25126b1436e4cd50902bc5362a1774018d.zip
cpython-3cb68a25126b1436e4cd50902bc5362a1774018d.tar.gz
cpython-3cb68a25126b1436e4cd50902bc5362a1774018d.tar.bz2
Remove extra 'types'
Change a couple of list -> mylist
-rw-r--r--Doc/lib/libtypes.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/libtypes.tex b/Doc/lib/libtypes.tex
index 8ca0911..02ff341 100644
--- a/Doc/lib/libtypes.tex
+++ b/Doc/lib/libtypes.tex
@@ -5,7 +5,7 @@
\modulesynopsis{Names for built-in types.}
-This module defines names for types some object types that are used by
+This module defines names for some object types that are used by
the standard Python interpreter, but not for the types defined by various
extension modules. Also, it does not include some of the types that
arise during processing such the \code{listiterator} type.
@@ -35,9 +35,9 @@ the example above should be written as follows:
\begin{verbatim}
def delete(mylist, item):
if isinstance(item, int):
- del list[item]
+ del mylist[item]
else:
- list.remove(item)
+ mylist.remove(item)
\end{verbatim}
The module defines the following names: