Skip to content

Commit e130a52

Browse files
committed
Remove duplication.
1 parent a5a9a9c commit e130a52

36 files changed

+43
-43
lines changed

Doc/c-api/method.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ to bind a :c:data:`PyCFunction` to a class object. It replaces the former call
2727
.. c:function:: PyObject* PyInstanceMethod_New(PyObject *func)
2828
2929
Return a new instance method object, with *func* being any callable object
30-
*func* is is the function that will be called when the instance method is
30+
*func* is the function that will be called when the instance method is
3131
called.
3232
3333
@@ -70,7 +70,7 @@ no longer available.
7070
.. c:function:: PyObject* PyMethod_New(PyObject *func, PyObject *self)
7171
7272
Return a new method object, with *func* being any callable object and *self*
73-
the instance the method should be bound. *func* is is the function that will
73+
the instance the method should be bound. *func* is the function that will
7474
be called when the method is called. *self* must not be *NULL*.
7575
7676

Doc/distutils/apiref.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1745,7 +1745,7 @@ Subclasses of :class:`Command` must define the following methods.
17451745
Set final values for all the options that this command supports. This is
17461746
always called as late as possible, ie. after any option assignments from the
17471747
command-line or from other commands have been done. Thus, this is the place
1748-
to to code option dependencies: if *foo* depends on *bar*, then it is safe to
1748+
to code option dependencies: if *foo* depends on *bar*, then it is safe to
17491749
set *foo* from *bar* as long as *foo* still has the same value it was
17501750
assigned in :meth:`initialize_options`.
17511751

Doc/howto/logging-cookbook.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,7 @@ and each time it reaches the size limit it is renamed with the suffix
960960
``.1``. Each of the existing backup files is renamed to increment the suffix
961961
(``.1`` becomes ``.2``, etc.) and the ``.6`` file is erased.
962962

963-
Obviously this example sets the log length much much too small as an extreme
963+
Obviously this example sets the log length much too small as an extreme
964964
example. You would want to set *maxBytes* to an appropriate value.
965965

966966
.. _zeromq-handlers:

Doc/howto/pyporting.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ the bytes/string dichotomy. Because Python 2 allowed the ``str`` type to hold
328328
textual data, people have over the years been rather loose in their delineation
329329
of what ``str`` instances held text compared to bytes. In Python 3 you cannot
330330
be so care-free anymore and need to properly handle the difference. The key
331-
handling this issue to to make sure that **every** string literal in your
331+
handling this issue to make sure that **every** string literal in your
332332
Python 2 code is either syntactically of functionally marked as either bytes or
333333
text data. After this is done you then need to make sure your APIs are designed
334334
to either handle a specific type or made to be properly polymorphic.

Doc/howto/webservers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ used for the deployment of WSGI applications.
264264

265265
* `FastCGI, SCGI, and Apache: Background and Future
266266
<http://www.vmunix.com/mark/blog/archives/2006/01/02/fastcgi-scgi-and-apache-background-and-future/>`_
267-
is a discussion on why the concept of FastCGI and SCGI is better that that
267+
is a discussion on why the concept of FastCGI and SCGI is better than that
268268
of mod_python.
269269

270270

Doc/library/collections.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ counts, but the output will exclude results with counts of zero or less.
191191
* The multiset methods are designed only for use cases with positive values.
192192
The inputs may be negative or zero, but only outputs with positive values
193193
are created. There are no type restrictions, but the value type needs to
194-
support support addition, subtraction, and comparison.
194+
support addition, subtraction, and comparison.
195195

196196
* The :meth:`elements` method requires integer counts. It ignores zero and
197197
negative counts.

Doc/library/concurrent.futures.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ and :source:`Lib/concurrent/futures/process.py`
1414
The :mod:`concurrent.futures` module provides a high-level interface for
1515
asynchronously executing callables.
1616

17-
The asynchronous execution can be be performed with threads, using
17+
The asynchronous execution can be performed with threads, using
1818
:class:`ThreadPoolExecutor`, or separate processes, using
1919
:class:`ProcessPoolExecutor`. Both implement the same interface, which is
2020
defined by the abstract :class:`Executor` class.

Doc/library/ctypes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1958,7 +1958,7 @@ Utility functions
19581958

19591959
.. function:: string_at(address, size=-1)
19601960

1961-
This function returns the C string starting at memory address address as a bytes
1961+
This function returns the C string starting at memory address *address* as a bytes
19621962
object. If size is specified, it is used as size, otherwise the string is assumed
19631963
to be zero-terminated.
19641964

Doc/library/email.message.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ Here are the methods of the :class:`Message` class:
291291

292292
Content-Disposition: attachment; filename="bud.gif"
293293

294-
An example with with non-ASCII characters::
294+
An example with non-ASCII characters::
295295

296296
msg.add_header('Content-Disposition', 'attachment',
297297
filename=('iso-8859-1', '', 'Fußballer.ppt'))

Doc/library/functions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ are always available. They are listed here in alphabetical order.
828828
.. note::
829829

830830
Python doesn't depend on the underlying operating system's notion of text
831-
files; all the the processing is done by Python itself, and is therefore
831+
files; all the processing is done by Python itself, and is therefore
832832
platform-independent.
833833

834834
*buffering* is an optional integer used to set the buffering policy. Pass 0

0 commit comments

Comments
 (0)