[Python-checkins] Fix some minor errors in the docs (GH-24834)

willingc webhook-mailer at python.org
Sat Mar 13 20:00:42 EST 2021


https://github.com/python/cpython/commit/f2b45367f1c049da76f81fb2920449b4909e0638
commit: f2b45367f1c049da76f81fb2920449b4909e0638
branch: master
author: Zackery Spytz <zspytz at gmail.com>
committer: willingc <carolcode at willingconsulting.com>
date: 2021-03-13T17:00:28-08:00
summary:

Fix some minor errors in the docs (GH-24834)

files:
M Doc/library/ast.rst
M Doc/library/asyncio-api-index.rst
M Doc/library/readline.rst
M Doc/library/statistics.rst
M Doc/library/xml.sax.handler.rst

diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst
index 4bc9906e8568a..ff3fd99f5d4f4 100644
--- a/Doc/library/ast.rst
+++ b/Doc/library/ast.rst
@@ -838,7 +838,7 @@ Statements
    context), ``op`` is :class:`Add`, and ``value`` is a :class:`Constant` with
    value for 1.
 
-   The ``target`` attribute connot be of class :class:`Tuple` or :class:`List`,
+   The ``target`` attribute cannot be of class :class:`Tuple` or :class:`List`,
    unlike the targets of :class:`Assign`.
 
    .. doctest::
diff --git a/Doc/library/asyncio-api-index.rst b/Doc/library/asyncio-api-index.rst
index 047e5bbc58cca..f558724d4a3ff 100644
--- a/Doc/library/asyncio-api-index.rst
+++ b/Doc/library/asyncio-api-index.rst
@@ -49,7 +49,7 @@ await on multiple things with timeouts.
       - Task object.
 
     * - :func:`to_thread`
-      - Asychronously run a function in a separate OS thread.
+      - Asynchronously run a function in a separate OS thread.
 
     * - :func:`run_coroutine_threadsafe`
       - Schedule a coroutine from another OS thread.
diff --git a/Doc/library/readline.rst b/Doc/library/readline.rst
index 3ff64885f7fce..4d485d25b5402 100644
--- a/Doc/library/readline.rst
+++ b/Doc/library/readline.rst
@@ -259,7 +259,7 @@ with a custom completer, a different set of word delimiters should be set.
    These indexes are the *start* and *end* arguments passed to the
    :c:data:`rl_attempted_completion_function` callback of the
    underlying library.  The values may be different in the same
-   input editing scenario based on the underlying C readline implemtation.
+   input editing scenario based on the underlying C readline implementation.
    Ex: libedit is known to behave differently than libreadline.
 
 
diff --git a/Doc/library/statistics.rst b/Doc/library/statistics.rst
index 6b6d3154a2881..695fb4969909d 100644
--- a/Doc/library/statistics.rst
+++ b/Doc/library/statistics.rst
@@ -51,7 +51,7 @@ or sample.
 :func:`median_high`      High median of data.
 :func:`median_grouped`   Median, or 50th percentile, of grouped data.
 :func:`mode`             Single mode (most common value) of discrete or nominal data.
-:func:`multimode`        List of modes (most common values) of discrete or nomimal data.
+:func:`multimode`        List of modes (most common values) of discrete or nominal data.
 :func:`quantiles`        Divide data into intervals with equal probability.
 =======================  ===============================================================
 
diff --git a/Doc/library/xml.sax.handler.rst b/Doc/library/xml.sax.handler.rst
index 3746a58c9b955..59d0d1b3b0117 100644
--- a/Doc/library/xml.sax.handler.rst
+++ b/Doc/library/xml.sax.handler.rst
@@ -50,7 +50,7 @@ module :mod:`xml.sax.handler`, so that all methods get default implementations.
 
 .. class:: LexicalHandler
 
-   Interface used by the parser to represent low freqency events which may not
+   Interface used by the parser to represent low frequency events which may not
    be of interest to many applications.
 
 In addition to these classes, :mod:`xml.sax.handler` provides symbolic constants



More information about the Python-checkins mailing list