Minor spelling fixes
This commit is contained in:
parent
f43bc98c48
commit
d210a70dd9
|
@ -11,7 +11,7 @@ Transports
|
||||||
|
|
||||||
Transports are classes provided by :mod:`asyncio` in order to abstract
|
Transports are classes provided by :mod:`asyncio` in order to abstract
|
||||||
various kinds of communication channels. You generally won't instantiate
|
various kinds of communication channels. You generally won't instantiate
|
||||||
a transport yourself; instead, you will call a :class:`AbstractEventLoop` method
|
a transport yourself; instead, you will call an :class:`AbstractEventLoop` method
|
||||||
which will create the transport and try to initiate the underlying
|
which will create the transport and try to initiate the underlying
|
||||||
communication channel, calling you back when it succeeds.
|
communication channel, calling you back when it succeeds.
|
||||||
|
|
||||||
|
|
|
@ -347,7 +347,7 @@ Currently the email package provides only one concrete content manager,
|
||||||
|
|
||||||
.. method:: get_content(msg, errors='replace')
|
.. method:: get_content(msg, errors='replace')
|
||||||
|
|
||||||
Return the payload of the part as either a string (for ``text`` parts), a
|
Return the payload of the part as either a string (for ``text`` parts), an
|
||||||
:class:`~email.message.EmailMessage` object (for ``message/rfc822``
|
:class:`~email.message.EmailMessage` object (for ``message/rfc822``
|
||||||
parts), or a ``bytes`` object (for all other non-multipart types). Raise
|
parts), or a ``bytes`` object (for all other non-multipart types). Raise
|
||||||
a :exc:`KeyError` if called on a ``multipart``. If the part is a
|
a :exc:`KeyError` if called on a ``multipart``. If the part is a
|
||||||
|
|
|
@ -74,7 +74,7 @@ and switch to DOM-related processing.
|
||||||
.. function:: parse(stream_or_string, parser=None, bufsize=None)
|
.. function:: parse(stream_or_string, parser=None, bufsize=None)
|
||||||
|
|
||||||
Return a :class:`DOMEventStream` from the given input. *stream_or_string* may be
|
Return a :class:`DOMEventStream` from the given input. *stream_or_string* may be
|
||||||
either a file name, or a file-like object. *parser*, if given, must be a
|
either a file name, or a file-like object. *parser*, if given, must be an
|
||||||
:class:`~xml.sax.xmlreader.XMLReader` object. This function will change the
|
:class:`~xml.sax.xmlreader.XMLReader` object. This function will change the
|
||||||
document handler of the
|
document handler of the
|
||||||
parser and activate namespace support; other parser configuration (like
|
parser and activate namespace support; other parser configuration (like
|
||||||
|
|
|
@ -532,7 +532,7 @@ implemented by Vinay Sajip, are:
|
||||||
calling ``log.getChild('network.listen')`` is equivalent to
|
calling ``log.getChild('network.listen')`` is equivalent to
|
||||||
``getLogger('app.network.listen')``.
|
``getLogger('app.network.listen')``.
|
||||||
|
|
||||||
* The :class:`~logging.LoggerAdapter` class gained a
|
* The :class:`~logging.LoggerAdapter` class gained an
|
||||||
:meth:`~logging.LoggerAdapter.isEnabledFor` method that takes a
|
:meth:`~logging.LoggerAdapter.isEnabledFor` method that takes a
|
||||||
*level* and returns whether the underlying logger would
|
*level* and returns whether the underlying logger would
|
||||||
process a message of that level of importance.
|
process a message of that level of importance.
|
||||||
|
|
|
@ -63,7 +63,7 @@
|
||||||
# if defined(__LP64__)
|
# if defined(__LP64__)
|
||||||
/* MacOSX 10.4 (the first release to support 64-bit code
|
/* MacOSX 10.4 (the first release to support 64-bit code
|
||||||
* at all) only supports 64-bit in the UNIX layer.
|
* at all) only supports 64-bit in the UNIX layer.
|
||||||
* Therefore surpress the toolbox-glue in 64-bit mode.
|
* Therefore suppress the toolbox-glue in 64-bit mode.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* In 64-bit mode setpgrp always has no arguments, in 32-bit
|
/* In 64-bit mode setpgrp always has no arguments, in 32-bit
|
||||||
|
@ -91,7 +91,7 @@
|
||||||
*
|
*
|
||||||
* Specifically: OSX 10.4 has limited supported for '%zd', while
|
* Specifically: OSX 10.4 has limited supported for '%zd', while
|
||||||
* 10.5 has full support for '%zd'. A binary built on 10.5 won't
|
* 10.5 has full support for '%zd'. A binary built on 10.5 won't
|
||||||
* work properly on 10.4 unless we surpress the definition
|
* work properly on 10.4 unless we suppress the definition
|
||||||
* of PY_FORMAT_SIZE_T
|
* of PY_FORMAT_SIZE_T
|
||||||
*/
|
*/
|
||||||
#undef PY_FORMAT_SIZE_T
|
#undef PY_FORMAT_SIZE_T
|
||||||
|
|
|
@ -180,7 +180,7 @@ Windows
|
||||||
Build
|
Build
|
||||||
-----
|
-----
|
||||||
|
|
||||||
- Issue #27713: Surpress spurious build warnings when updating importlib's
|
- Issue #27713: Suppress spurious build warnings when updating importlib's
|
||||||
bootstrap files. Patch by Xiang Zhang
|
bootstrap files. Patch by Xiang Zhang
|
||||||
|
|
||||||
- Issue #25825: Correct the references to Modules/python.exp, which is
|
- Issue #25825: Correct the references to Modules/python.exp, which is
|
||||||
|
|
Loading…
Reference in New Issue