]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #17047: removed doubled words in Doc/*, Mac/*, and Tool/*
authorTerry Jan Reedy <tjreedy@udel.edu>
Mon, 11 Mar 2013 21:23:46 +0000 (17:23 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Mon, 11 Mar 2013 21:23:46 +0000 (17:23 -0400)
found by Serhiy Storchaka and Matthew Barnett

Doc/c-api/intro.rst
Doc/c-api/long.rst
Doc/library/xml.dom.rst
Mac/README
Tools/msi/msilib.py
Tools/pybench/README

index e136816688f2058085c4581eb3d3cae0b0410c55..6464fe7d37bc63db82f0a216694b797c14706ba8 100644 (file)
@@ -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::
index e2f58adff07328415db227d6c6d20e528ba1562d..72be0174657334a861be9736ecaa05dfc4181883 100644 (file)
@@ -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
index 297fc0c5c04567c31654adc05bfa92761fd770c1..1a3a6a4b1f110487f4c219a728207638236be0b3 100644 (file)
@@ -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)
index 6853db44c682bd6890186220524486f8c1c4ce27..0b906f1eddb9f4f17d18a63a570bc89cfcae69dd 100644 (file)
@@ -30,7 +30,7 @@ the Python distribution.
 
 * ``--enable-universalsdk[=PATH]``
 
-  Create a universal binary build of of Python. This can be used with both
+  Create a universal binary build of Python. This can be used with both
   regular and framework builds.
 
   The optional argument specifies which OSX SDK should be used to perform the
index 5795d0ec6b75df3997ee9df4a1270c50c8eabfb0..92fb5e1267e7198c174bf08a20c3e028215f017e 100644 (file)
@@ -489,7 +489,7 @@ class Directory:
 
     def add_file(self, file, src=None, version=None, language=None):
         """Add a file to the current component of the directory, starting a new one
-        one if there is no current component. By default, the file name in the source
+        if there is no current component. By default, the file name in the source
         and the file table will be identical. If the src file is specified, it is
         interpreted relative to the current directory. Optionally, a version and a
         language can be specified for the entry in the File table."""
index e33d0647006002b695cf05306d8528ae2b21a263..e59e6c0ce681186ccd492628a1a2a9480626f119 100644 (file)
@@ -3,7 +3,7 @@ ________________________________________________________________________
 PYBENCH - A Python Benchmark Suite
 ________________________________________________________________________
 
-     Extendable suite of of low-level benchmarks for measuring
+     Extendable suite of low-level benchmarks for measuring
           the performance of the Python implementation 
                  (interpreter, compiler or VM).