Kaydet (Commit) c151f784 authored tarafından Xtreak's avatar Xtreak Kaydeden (comit) Serhiy Storchaka

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

üst b193fa99
...@@ -133,7 +133,7 @@ Legacy API: ...@@ -133,7 +133,7 @@ Legacy API:
.. seealso:: .. seealso::
Module :mod:`smtplib` Module :mod:`smtplib`
SMTP (Simple Mail Transport Protcol) client SMTP (Simple Mail Transport Protocol) client
Module :mod:`poplib` Module :mod:`poplib`
POP (Post Office Protocol) client POP (Post Office Protocol) client
......
...@@ -249,7 +249,7 @@ ABC hierarchy:: ...@@ -249,7 +249,7 @@ ABC hierarchy::
.. abstractmethod:: find_module(fullname, path=None) .. 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 module. Originally specified in :pep:`302`, this method was meant
for use in :data:`sys.meta_path` and in the path-based import subsystem. for use in :data:`sys.meta_path` and in the path-based import subsystem.
......
...@@ -145,7 +145,7 @@ between conformable Python objects and XML on the wire. ...@@ -145,7 +145,7 @@ between conformable Python objects and XML on the wire.
.. versionchanged:: 3.6 .. versionchanged:: 3.6
Added support of type tags with prefixes (e.g. ``ex:nil``). 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``, implementation for numerics: ``i1``, ``i2``, ``i8``, ``biginteger``,
``float`` and ``bigdecimal``. ``float`` and ``bigdecimal``.
See http://ws.apache.org/xmlrpc/types.html for a description. See http://ws.apache.org/xmlrpc/types.html for a description.
......
...@@ -905,7 +905,7 @@ conflict. ...@@ -905,7 +905,7 @@ conflict.
If this environment variable is not set at all, then the interpreter defaults If this environment variable is not set at all, then the interpreter defaults
to using the current locale settings, *unless* the current locale is to using the current locale settings, *unless* the current locale is
identified as a legacy ASCII-based locale 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 either disabled or fails. In such legacy locales, the interpreter will
default to enabling UTF-8 mode unless explicitly instructed not to do so. default to enabling UTF-8 mode unless explicitly instructed not to do so.
......
...@@ -1414,7 +1414,7 @@ http ...@@ -1414,7 +1414,7 @@ http
:class:`http.server.BaseHTTPRequestHandler` now buffers the headers and writes :class:`http.server.BaseHTTPRequestHandler` now buffers the headers and writes
them all at once when :meth:`~http.server.BaseHTTPRequestHandler.end_headers` is them all at once when :meth:`~http.server.BaseHTTPRequestHandler.end_headers` is
called. A new method :meth:`~http.server.BaseHTTPRequestHandler.flush_headers` 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`.) (Contributed by Andrew Schaaf in :issue:`3709`.)
:class:`http.server` now produces valid ``HTML 4.01 strict`` output. :class:`http.server` now produces valid ``HTML 4.01 strict`` output.
......
...@@ -1856,7 +1856,7 @@ Build and C API Changes ...@@ -1856,7 +1856,7 @@ Build and C API Changes
For more information, see :pep:`7` and :issue:`17884`. For more information, see :pep:`7` and :issue:`17884`.
* Cross-compiling CPython with the Android NDK and the Android API level set to * 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 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`. with only about 16 tests failures. See the Android meta-issue :issue:`26865`.
......
...@@ -2262,7 +2262,7 @@ Changes in the Python API ...@@ -2262,7 +2262,7 @@ Changes in the Python API
* Because :func:`shutil.rmtree` is now implemented using the :func:`os.scandir` * Because :func:`shutil.rmtree` is now implemented using the :func:`os.scandir`
function, the user specified handler *onerror* is now called with the first 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. is failed.
* Support for nested sets and set operations in regular expressions as in * Support for nested sets and set operations in regular expressions as in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment