Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some minor errors in the docs #24834

Merged
merged 1 commit into from
Mar 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Doc/library/ast.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/asyncio-api-index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/readline.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.


Expand Down
2 changes: 1 addition & 1 deletion Doc/library/statistics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
======================= ===============================================================

Expand Down
2 changes: 1 addition & 1 deletion Doc/library/xml.sax.handler.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down