bpo-33859: Fix spelling mistakes in docs. (GH-7691)

This commit is contained in:
Xtreak 2018-06-16 10:38:31 +05:30 committed by Serhiy Storchaka
parent b193fa996a
commit c151f7846d
7 changed files with 7 additions and 7 deletions

View File

@ -133,7 +133,7 @@ Legacy API:
.. seealso::
Module :mod:`smtplib`
SMTP (Simple Mail Transport Protcol) client
SMTP (Simple Mail Transport Protocol) client
Module :mod:`poplib`
POP (Post Office Protocol) client

View File

@ -249,7 +249,7 @@ ABC hierarchy::
.. abstractmethod:: find_module(fullname, path=None)
An abstact method for finding a :term:`loader` for the specified
An abstract method for finding a :term:`loader` for the specified
module. Originally specified in :pep:`302`, this method was meant
for use in :data:`sys.meta_path` and in the path-based import subsystem.

View File

@ -145,7 +145,7 @@ between conformable Python objects and XML on the wire.
.. versionchanged:: 3.6
Added support of type tags with prefixes (e.g. ``ex:nil``).
Added support of unmarsalling additional types used by Apache XML-RPC
Added support of unmarshalling additional types used by Apache XML-RPC
implementation for numerics: ``i1``, ``i2``, ``i8``, ``biginteger``,
``float`` and ``bigdecimal``.
See http://ws.apache.org/xmlrpc/types.html for a description.

View File

@ -905,7 +905,7 @@ conflict.
If this environment variable is not set at all, then the interpreter defaults
to using the current locale settings, *unless* the current locale is
identified as a legacy ASCII-based locale
(as descibed for :envvar:`PYTHONCOERCECLOCALE`), and locale coercion is
(as described for :envvar:`PYTHONCOERCECLOCALE`), and locale coercion is
either disabled or fails. In such legacy locales, the interpreter will
default to enabling UTF-8 mode unless explicitly instructed not to do so.

View File

@ -1414,7 +1414,7 @@ http
:class:`http.server.BaseHTTPRequestHandler` now buffers the headers and writes
them all at once when :meth:`~http.server.BaseHTTPRequestHandler.end_headers` is
called. A new method :meth:`~http.server.BaseHTTPRequestHandler.flush_headers`
can be used to directly manage when the accumlated headers are sent.
can be used to directly manage when the accumulated headers are sent.
(Contributed by Andrew Schaaf in :issue:`3709`.)
:class:`http.server` now produces valid ``HTML 4.01 strict`` output.

View File

@ -1856,7 +1856,7 @@ Build and C API Changes
For more information, see :pep:`7` and :issue:`17884`.
* Cross-compiling CPython with the Android NDK and the Android API level set to
21 (Android 5.0 Lollilop) or greater runs successfully. While Android is not
21 (Android 5.0 Lollipop) or greater runs successfully. While Android is not
yet a supported platform, the Python test suite runs on the Android emulator
with only about 16 tests failures. See the Android meta-issue :issue:`26865`.

View File

@ -2262,7 +2262,7 @@ Changes in the Python API
* Because :func:`shutil.rmtree` is now implemented using the :func:`os.scandir`
function, the user specified handler *onerror* is now called with the first
argument ``os.scandir`` instead of ``os.listdir`` when listing the direcory
argument ``os.scandir`` instead of ``os.listdir`` when listing the directory
is failed.
* Support for nested sets and set operations in regular expressions as in