Skip to content

Commit f2b4536

Browse files
authored
Fix some minor errors in the docs (GH-24834)
1 parent f00e82f commit f2b4536

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Doc/library/ast.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ Statements
838838
context), ``op`` is :class:`Add`, and ``value`` is a :class:`Constant` with
839839
value for 1.
840840

841-
The ``target`` attribute connot be of class :class:`Tuple` or :class:`List`,
841+
The ``target`` attribute cannot be of class :class:`Tuple` or :class:`List`,
842842
unlike the targets of :class:`Assign`.
843843

844844
.. doctest::

Doc/library/asyncio-api-index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ await on multiple things with timeouts.
4949
- Task object.
5050

5151
* - :func:`to_thread`
52-
- Asychronously run a function in a separate OS thread.
52+
- Asynchronously run a function in a separate OS thread.
5353

5454
* - :func:`run_coroutine_threadsafe`
5555
- Schedule a coroutine from another OS thread.

Doc/library/readline.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ with a custom completer, a different set of word delimiters should be set.
259259
These indexes are the *start* and *end* arguments passed to the
260260
:c:data:`rl_attempted_completion_function` callback of the
261261
underlying library. The values may be different in the same
262-
input editing scenario based on the underlying C readline implemtation.
262+
input editing scenario based on the underlying C readline implementation.
263263
Ex: libedit is known to behave differently than libreadline.
264264

265265

Doc/library/statistics.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ or sample.
5151
:func:`median_high` High median of data.
5252
:func:`median_grouped` Median, or 50th percentile, of grouped data.
5353
:func:`mode` Single mode (most common value) of discrete or nominal data.
54-
:func:`multimode` List of modes (most common values) of discrete or nomimal data.
54+
:func:`multimode` List of modes (most common values) of discrete or nominal data.
5555
:func:`quantiles` Divide data into intervals with equal probability.
5656
======================= ===============================================================
5757

Doc/library/xml.sax.handler.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ module :mod:`xml.sax.handler`, so that all methods get default implementations.
5050

5151
.. class:: LexicalHandler
5252

53-
Interface used by the parser to represent low freqency events which may not
53+
Interface used by the parser to represent low frequency events which may not
5454
be of interest to many applications.
5555

5656
In addition to these classes, :mod:`xml.sax.handler` provides symbolic constants

0 commit comments

Comments
 (0)