Skip to content

Commit caeb6be

Browse files
committed
Merge with 3.2: Issue python#17047: removed doubled words in Doc/*,
Mac/*, and Tool/* found by Serhiy Storchaka and Matthew Barnett
2 parents c9cfcf1 + 65e69b3 commit caeb6be

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

Doc/c-api/intro.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ and lose important information about the exact cause of the error.
433433
.. index:: single: sum_sequence()
434434

435435
A simple example of detecting exceptions and passing them on is shown in the
436-
:c:func:`sum_sequence` example above. It so happens that that example doesn't
436+
:c:func:`sum_sequence` example above. It so happens that this example doesn't
437437
need to clean up any owned references when it detects an error. The following
438438
example function shows some error cleanup. First, to remind you why you like
439439
Python, we show the equivalent Python code::

Doc/c-api/long.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ All integers are implemented as "long" integer objects of arbitrary size.
203203
204204
.. c:function:: size_t PyLong_AsSize_t(PyObject *pylong)
205205
206-
Return a C :c:type:`size_t` representation of of *pylong*. *pylong* must be
206+
Return a C :c:type:`size_t` representation of *pylong*. *pylong* must be
207207
an instance of :c:type:`PyLongObject`.
208208
209209
Raise :exc:`OverflowError` if the value of *pylong* is out of range for a
@@ -215,7 +215,7 @@ All integers are implemented as "long" integer objects of arbitrary size.
215215
.. index::
216216
single: OverflowError (built-in exception)
217217
218-
Return a C :c:type:`unsigned PY_LONG_LONG` representation of of *pylong*.
218+
Return a C :c:type:`unsigned PY_LONG_LONG` representation of *pylong*.
219219
*pylong* must be an instance of :c:type:`PyLongObject`.
220220
221221
Raise :exc:`OverflowError` if the value of *pylong* is out of range for an

Doc/library/xml.dom.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ All of the components of an XML document are subclasses of :class:`Node`.
357357

358358
Add a new child node to this node at the end of the list of
359359
children, returning *newChild*. If the node was already in
360-
in the tree, it is removed first.
360+
the tree, it is removed first.
361361

362362

363363
.. method:: Node.insertBefore(newChild, refChild)

Mac/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ the Python distribution.
3737

3838
* ``--enable-universalsdk[=PATH]``
3939

40-
Create a universal binary build of of Python. This can be used with both
40+
Create a universal binary build of Python. This can be used with both
4141
regular and framework builds.
4242

4343
The optional argument specifies which OS X SDK should be used to perform the

Tools/msi/msilib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ def make_short(self, file):
491491

492492
def add_file(self, file, src=None, version=None, language=None):
493493
"""Add a file to the current component of the directory, starting a new one
494-
one if there is no current component. By default, the file name in the source
494+
if there is no current component. By default, the file name in the source
495495
and the file table will be identical. If the src file is specified, it is
496496
interpreted relative to the current directory. Optionally, a version and a
497497
language can be specified for the entry in the File table."""

Tools/pybench/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ________________________________________________________________________
33
PYBENCH - A Python Benchmark Suite
44
________________________________________________________________________
55

6-
Extendable suite of of low-level benchmarks for measuring
6+
Extendable suite of low-level benchmarks for measuring
77
the performance of the Python implementation
88
(interpreter, compiler or VM).
99

0 commit comments

Comments
 (0)