]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix some minor errors in the docs (GH-24834)
authorZackery Spytz <zspytz@gmail.com>
Sun, 14 Mar 2021 01:00:28 +0000 (18:00 -0700)
committerGitHub <noreply@github.com>
Sun, 14 Mar 2021 01:00:28 +0000 (17:00 -0800)
Doc/library/ast.rst
Doc/library/asyncio-api-index.rst
Doc/library/readline.rst
Doc/library/statistics.rst
Doc/library/xml.sax.handler.rst

index 4bc9906e8568a906be5f0dc602e0c0e3762de4c4..ff3fd99f5d4f44bd3d087554eb49a2b0e6961deb 100644 (file)
@@ -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::
index 047e5bbc58ccadec69c067c517b9d9943b1d4c1c..f558724d4a3ff658bbd7bd7f254a52552a08ef0c 100644 (file)
@@ -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.
index 3ff64885f7fced7a8c488d4c259719b7f7db8dbc..4d485d25b5402091c668b883eb7ec7807c7c7b20 100644 (file)
@@ -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.
 
 
index 6b6d3154a28810069abcfcc08b1fb83bcf4d6ba1..695fb4969909def6cc2cf34dd0cac266961936bc 100644 (file)
@@ -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.
 =======================  ===============================================================
 
index 3746a58c9b9558a48f2d470bb2d0787f291d05b9..59d0d1b3b01175149089a57fc3a18c0e670c6155 100644 (file)
@@ -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