mirror of
https://github.com/python/cpython.git
synced 2025-08-19 16:20:59 +00:00
[3.12] gh-101100: Fix sphinx warnings in library/asyncio-dev.rst
(GH-111179) (#111185)
gh-101100: Fix sphinx warnings in `library/asyncio-dev.rst` (GH-111179)
* gh-101100: Fix sphinx warnings in `library/asyncio-dev.rst`
* Update Doc/library/asyncio-eventloop.rst
* Update Doc/library/asyncio-eventloop.rst
---------
(cherry picked from commit 8c689c9b88
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
This commit is contained in:
parent
f2f89bf1c1
commit
06fe8685a1
2 changed files with 11 additions and 4 deletions
|
@ -243,7 +243,7 @@ Scheduling callbacks
|
||||||
See the :ref:`concurrency and multithreading <asyncio-multithreading>`
|
See the :ref:`concurrency and multithreading <asyncio-multithreading>`
|
||||||
section of the documentation.
|
section of the documentation.
|
||||||
|
|
||||||
.. versionchanged:: 3.7
|
.. versionchanged:: 3.7
|
||||||
The *context* keyword-only parameter was added. See :pep:`567`
|
The *context* keyword-only parameter was added. See :pep:`567`
|
||||||
for more details.
|
for more details.
|
||||||
|
|
||||||
|
@ -1391,6 +1391,14 @@ Enabling debug mode
|
||||||
The new :ref:`Python Development Mode <devmode>` can now also be used
|
The new :ref:`Python Development Mode <devmode>` can now also be used
|
||||||
to enable the debug mode.
|
to enable the debug mode.
|
||||||
|
|
||||||
|
.. attribute:: loop.slow_callback_duration
|
||||||
|
|
||||||
|
This attribute can be used to set the
|
||||||
|
minimum execution duration in seconds that is considered "slow".
|
||||||
|
When debug mode is enabled, "slow" callbacks are logged.
|
||||||
|
|
||||||
|
Default value is 100 milliseconds.
|
||||||
|
|
||||||
.. seealso::
|
.. seealso::
|
||||||
|
|
||||||
The :ref:`debug mode of asyncio <asyncio-debug-mode>`.
|
The :ref:`debug mode of asyncio <asyncio-debug-mode>`.
|
||||||
|
|
|
@ -34,7 +34,6 @@ Doc/library/__future__.rst
|
||||||
Doc/library/abc.rst
|
Doc/library/abc.rst
|
||||||
Doc/library/aifc.rst
|
Doc/library/aifc.rst
|
||||||
Doc/library/ast.rst
|
Doc/library/ast.rst
|
||||||
Doc/library/asyncio-dev.rst
|
|
||||||
Doc/library/asyncio-eventloop.rst
|
Doc/library/asyncio-eventloop.rst
|
||||||
Doc/library/asyncio-extending.rst
|
Doc/library/asyncio-extending.rst
|
||||||
Doc/library/asyncio-policy.rst
|
Doc/library/asyncio-policy.rst
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue