mirror of https://github.com/python/cpython
Fix some minor errors in the docs (GH-24834)
This commit is contained in:
parent
f00e82f8b8
commit
f2b45367f1
|
@ -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::
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
||||
|
|
|
@ -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.
|
||||
======================= ===============================================================
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue