summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2013-03-11 17:23:46 -0400
committerTerry Jan Reedy <tjreedy@udel.edu>2013-03-11 17:23:46 -0400
commit65e69b37183eb0172b9fbbf28388ff0b0d05b792 (patch)
tree2462ee8dc9a44af4f422c64b2425d5166a0420ad /Doc
parentaf8838f4430cec7ba36caf3ce419a5205451c02a (diff)
downloadcpython-git-65e69b37183eb0172b9fbbf28388ff0b0d05b792.tar.gz
Issue #17047: removed doubled words in Doc/*, Mac/*, and Tool/*
found by Serhiy Storchaka and Matthew Barnett
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/intro.rst2
-rw-r--r--Doc/c-api/long.rst4
-rw-r--r--Doc/library/xml.dom.rst2
3 files changed, 4 insertions, 4 deletions
diff --git a/Doc/c-api/intro.rst b/Doc/c-api/intro.rst
index e136816688..6464fe7d37 100644
--- a/Doc/c-api/intro.rst
+++ b/Doc/c-api/intro.rst
@@ -433,7 +433,7 @@ and lose important information about the exact cause of the error.
.. index:: single: sum_sequence()
A simple example of detecting exceptions and passing them on is shown in the
-:c:func:`sum_sequence` example above. It so happens that that example doesn't
+:c:func:`sum_sequence` example above. It so happens that this example doesn't
need to clean up any owned references when it detects an error. The following
example function shows some error cleanup. First, to remind you why you like
Python, we show the equivalent Python code::
diff --git a/Doc/c-api/long.rst b/Doc/c-api/long.rst
index e2f58adff0..72be017465 100644
--- a/Doc/c-api/long.rst
+++ b/Doc/c-api/long.rst
@@ -189,7 +189,7 @@ All integers are implemented as "long" integer objects of arbitrary size.
.. c:function:: size_t PyLong_AsSize_t(PyObject *pylong)
- Return a C :c:type:`size_t` representation of of *pylong*. *pylong* must be
+ Return a C :c:type:`size_t` representation of *pylong*. *pylong* must be
an instance of :c:type:`PyLongObject`.
Raise :exc:`OverflowError` if the value of *pylong* is out of range for a
@@ -201,7 +201,7 @@ All integers are implemented as "long" integer objects of arbitrary size.
.. index::
single: OverflowError (built-in exception)
- Return a C :c:type:`unsigned PY_LONG_LONG` representation of of *pylong*.
+ Return a C :c:type:`unsigned PY_LONG_LONG` representation of *pylong*.
*pylong* must be an instance of :c:type:`PyLongObject`.
Raise :exc:`OverflowError` if the value of *pylong* is out of range for an
diff --git a/Doc/library/xml.dom.rst b/Doc/library/xml.dom.rst
index 297fc0c5c0..1a3a6a4b1f 100644
--- a/Doc/library/xml.dom.rst
+++ b/Doc/library/xml.dom.rst
@@ -357,7 +357,7 @@ All of the components of an XML document are subclasses of :class:`Node`.
Add a new child node to this node at the end of the list of
children, returning *newChild*. If the node was already in
- in the tree, it is removed first.
+ the tree, it is removed first.
.. method:: Node.insertBefore(newChild, refChild)