mirror of https://github.com/python/cpython
Merge with 3.2: Issue #17047: removed doubled words in Doc/*,
Mac/*, and Tool/* found by Serhiy Storchaka and Matthew Barnett
This commit is contained in:
commit
caeb6bea9b
|
@ -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::
|
||||
|
|
|
@ -203,7 +203,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
|
||||
|
@ -215,7 +215,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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -37,7 +37,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 OS X SDK should be used to perform the
|
||||
|
|
|
@ -491,7 +491,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."""
|
||||
|
|
|
@ -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).
|
||||
|
||||
|
|
Loading…
Reference in New Issue