summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2021-03-14 01:00:28 (GMT)
committerGitHub <noreply@github.com>2021-03-14 01:00:28 (GMT)
commitf2b45367f1c049da76f81fb2920449b4909e0638 (patch)
treeccb43cff286ed56937fcabe7e2dbbe015d081c0e
parentf00e82f8b87c96ff76d6f768fa7a29cbd86eec6a (diff)
downloadcpython-f2b45367f1c049da76f81fb2920449b4909e0638.zip
cpython-f2b45367f1c049da76f81fb2920449b4909e0638.tar.gz
cpython-f2b45367f1c049da76f81fb2920449b4909e0638.tar.bz2
Fix some minor errors in the docs (GH-24834)
-rw-r--r--Doc/library/ast.rst2
-rw-r--r--Doc/library/asyncio-api-index.rst2
-rw-r--r--Doc/library/readline.rst2
-rw-r--r--Doc/library/statistics.rst2
-rw-r--r--Doc/library/xml.sax.handler.rst2
5 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst
index 4bc9906..ff3fd99 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 047e5bb..f558724 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 3ff6488..4d485d2 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 6b6d315..695fb49 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 3746a58..59d0d1b 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