summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-09-22 15:00:55 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-09-22 15:00:55 (GMT)
commit7e43110f34469a4d88ed77dc01de3bf4e0020f62 (patch)
tree7ffd9f4a51e0a9ba715be034a92dff08a62631e0 /Doc/lib
parente46d14cd2c92a7ec8287f8cf222a07de869081bf (diff)
downloadcpython-7e43110f34469a4d88ed77dc01de3bf4e0020f62.zip
cpython-7e43110f34469a4d88ed77dc01de3bf4e0020f62.tar.gz
cpython-7e43110f34469a4d88ed77dc01de3bf4e0020f62.tar.bz2
SF 810242. Fix doubled word errors.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libcodecs.tex2
-rw-r--r--Doc/lib/libfuncs.tex2
-rw-r--r--Doc/lib/libgopherlib.tex2
-rw-r--r--Doc/lib/libimgfile.tex2
-rw-r--r--Doc/lib/libitertools.tex2
-rw-r--r--Doc/lib/libmultifile.tex2
-rw-r--r--Doc/lib/libregex.tex2
7 files changed, 7 insertions, 7 deletions
diff --git a/Doc/lib/libcodecs.tex b/Doc/lib/libcodecs.tex
index d981440..2841643 100644
--- a/Doc/lib/libcodecs.tex
+++ b/Doc/lib/libcodecs.tex
@@ -161,7 +161,7 @@ codecs. Output is also codec-dependent and will usually be Unicode as
well.}
\var{encoding} specifies the encoding which is to be used for the
-the file.
+file.
\var{errors} may be given to define the error handling. It defaults
to \code{'strict'} which causes a \exception{ValueError} to be raised
diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex
index eeb3be8..936a023 100644
--- a/Doc/lib/libfuncs.tex
+++ b/Doc/lib/libfuncs.tex
@@ -975,7 +975,7 @@ class C(B):
container that supports iteration, or an iterator object.
If \var{sequence} is already a tuple, it
is returned unchanged. For instance, \code{tuple('abc')} returns
- returns \code{('a', 'b', 'c')} and \code{tuple([1, 2, 3])} returns
+ \code{('a', 'b', 'c')} and \code{tuple([1, 2, 3])} returns
\code{(1, 2, 3)}. If no argument is given, returns a new empty
tuple, \code{()}.
\end{funcdesc}
diff --git a/Doc/lib/libgopherlib.tex b/Doc/lib/libgopherlib.tex
index e2701f2..820f63d 100644
--- a/Doc/lib/libgopherlib.tex
+++ b/Doc/lib/libgopherlib.tex
@@ -7,7 +7,7 @@
\indexii{Gopher}{protocol}
This module provides a minimal implementation of client side of the
-the Gopher protocol. It is used by the module \refmodule{urllib} to
+Gopher protocol. It is used by the module \refmodule{urllib} to
handle URLs that use the Gopher protocol.
The module defines the following functions:
diff --git a/Doc/lib/libimgfile.tex b/Doc/lib/libimgfile.tex
index 7069dbe..3587d85 100644
--- a/Doc/lib/libimgfile.tex
+++ b/Doc/lib/libimgfile.tex
@@ -9,7 +9,7 @@
The \module{imgfile} module allows Python programs to access SGI imglib image
files (also known as \file{.rgb} files). The module is far from
complete, but is provided anyway since the functionality that there is
-is enough in some cases. Currently, colormap files are not supported.
+enough in some cases. Currently, colormap files are not supported.
The module defines the following variables and functions:
diff --git a/Doc/lib/libitertools.tex b/Doc/lib/libitertools.tex
index 453d16e..3b70546 100644
--- a/Doc/lib/libitertools.tex
+++ b/Doc/lib/libitertools.tex
@@ -41,7 +41,7 @@ computer equivalent of ``inventory''.
The performance advantage of iterators becomes more acute as the number
of elements increases -- at some point, lists grow large enough to
-to severely impact memory cache performance and start running slowly.
+severely impact memory cache performance and start running slowly.
\begin{seealso}
\seetext{The Standard ML Basis Library,
diff --git a/Doc/lib/libmultifile.tex b/Doc/lib/libmultifile.tex
index bdd573e..98ccafb 100644
--- a/Doc/lib/libmultifile.tex
+++ b/Doc/lib/libmultifile.tex
@@ -121,7 +121,7 @@ ignores trailing whitespace.
Turn a boundary string into an end-marker line. By default, this
method prepends \code{'-}\code{-'} and appends \code{'-}\code{-'} (like a
MIME-multipart end-of-message marker) but it is declared so it can be
-be overridden in derived classes. This method need not append LF or
+overridden in derived classes. This method need not append LF or
CR-LF, as comparison with the result ignores trailing whitespace.
\end{methoddesc}
diff --git a/Doc/lib/libregex.tex b/Doc/lib/libregex.tex
index 291e96f..bd86db5 100644
--- a/Doc/lib/libregex.tex
+++ b/Doc/lib/libregex.tex
@@ -315,7 +315,7 @@ the result is a single string; if there are multiple arguments, the
result is a tuple with one item per argument. If the \var{index} is
zero, the corresponding return value is the entire matching string; if
it is in the inclusive range [1..99], it is the string matching the
-the corresponding parenthesized group (using the default syntax,
+corresponding parenthesized group (using the default syntax,
groups are parenthesized using \code{{\e}(} and \code{{\e})}). If no
such group exists, the corresponding result is \code{None}.