Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f106449

Browse files
committed
Merge with 3.2.
2 parents 318909b + e130a52 commit f106449

41 files changed

Lines changed: 48 additions & 48 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Doc/c-api/exceptions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ recursion depth automatically).
525525
526526
Marks a point where a recursive C-level call is about to be performed.
527527
528-
If :const:`USE_STACKCHECK` is defined, this function checks if the the OS
528+
If :const:`USE_STACKCHECK` is defined, this function checks if the OS
529529
stack overflowed using :c:func:`PyOS_CheckStack`. In this is the case, it
530530
sets a :exc:`MemoryError` and returns a nonzero value.
531531

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
@@ -1744,7 +1744,7 @@ Subclasses of :class:`Command` must define the following methods.
17441744
Set final values for all the options that this command supports. This is
17451745
always called as late as possible, ie. after any option assignments from the
17461746
command-line or from other commands have been done. Thus, this is the place
1747-
to to code option dependencies: if *foo* depends on *bar*, then it is safe to
1747+
to code option dependencies: if *foo* depends on *bar*, then it is safe to
17481748
set *foo* from *bar* as long as *foo* still has the same value it was
17491749
assigned in :meth:`initialize_options`.
17501750

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/argparse.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ default values to each of the argument help messages::
443443
--foo FOO FOO! (default: 42)
444444

445445
:class:`MetavarTypeHelpFormatter` uses the name of the type_ argument for each
446-
argument as as the display name for its values (rather than using the dest_
446+
argument as the display name for its values (rather than using the dest_
447447
as the regular formatter does)::
448448

449449
>>> parser = argparse.ArgumentParser(

Doc/library/collections.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ or subtracting from an empty counter.
317317
* The multiset methods are designed only for use cases with positive values.
318318
The inputs may be negative or zero, but only outputs with positive values
319319
are created. There are no type restrictions, but the value type needs to
320-
support support addition, subtraction, and comparison.
320+
support addition, subtraction, and comparison.
321321

322322
* The :meth:`elements` method requires integer counts. It ignores zero and
323323
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
@@ -1966,7 +1966,7 @@ Utility functions
19661966

19671967
.. function:: string_at(address, size=-1)
19681968

1969-
This function returns the C string starting at memory address address as a bytes
1969+
This function returns the C string starting at memory address *address* as a bytes
19701970
object. If size is specified, it is used as size, otherwise the string is assumed
19711971
to be zero-terminated.
19721972

0 commit comments

Comments
 (0)