]> granicus.if.org Git - python/commitdiff
SF 810242. Fix doubled word errors.
authorRaymond Hettinger <python@rcn.com>
Mon, 22 Sep 2003 15:00:55 +0000 (15:00 +0000)
committerRaymond Hettinger <python@rcn.com>
Mon, 22 Sep 2003 15:00:55 +0000 (15:00 +0000)
Doc/lib/libcodecs.tex
Doc/lib/libfuncs.tex
Doc/lib/libgopherlib.tex
Doc/lib/libimgfile.tex
Doc/lib/libitertools.tex
Doc/lib/libmultifile.tex
Doc/lib/libregex.tex

index d9814409e42731d262fae051ad6a0a0612da5237..284164333cf9cf202982356bb448abf659f95cfa 100644 (file)
@@ -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
index eeb3be8f85b365e94a6b59b1c543d6ffe7d86b27..936a02323482f7d2b57c3396312c77897dad2230 100644 (file)
@@ -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}
index e2701f29be0a7a07420fe060a2aa3a0faf00e0f8..820f63dfee6947716cbab116615057dbc8121be9 100644 (file)
@@ -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:
index 7069dbe732b9720248e9a882a983291b25fbd442..3587d85266d182ad28bfff6cf76d324fae4c10a1 100644 (file)
@@ -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:
 
index 453d16e4d7b89726303a28506f1044dc2edb52db..3b705469c9b55dfb8893031f60679e446c2bf479 100644 (file)
@@ -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,
index bdd573e754ed76dd371909021b612f569c3bcaef..98ccafb25df1cc292d954ffdcc36cc2a2611d897 100644 (file)
@@ -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}
 
index 291e96fa5f4d73fd752699e1f0d6a71f40f197c5..bd86db5db2c747c9e1cdb3821e27dcf9cec2bc53 100644 (file)
@@ -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}.