Skip to content

Commit

Permalink
pythongh-101100: Fix sphinx warnings in library/asyncio-dev.rst (py…
Browse files Browse the repository at this point in the history
…thonGH-111179)

* pythongh-101100: Fix sphinx warnings in `library/asyncio-dev.rst`

* Update Doc/library/asyncio-eventloop.rst

* Update Doc/library/asyncio-eventloop.rst

---------

Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
  • Loading branch information
2 people authored and aisk committed Feb 11, 2024
1 parent ca9a4f3 commit f3445ea
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
14 changes: 11 additions & 3 deletions Doc/library/asyncio-eventloop.rst
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,9 @@ Scheduling callbacks
See the :ref:`concurrency and multithreading <asyncio-multithreading>`
section of the documentation.

.. versionchanged:: 3.7
The *context* keyword-only parameter was added. See :pep:`567`
for more details.
.. versionchanged:: 3.7
The *context* keyword-only parameter was added. See :pep:`567`
for more details.

.. _asyncio-pass-keywords:

Expand Down Expand Up @@ -1391,6 +1391,14 @@ Enabling debug mode
The new :ref:`Python Development Mode <devmode>` can now also be used
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::

The :ref:`debug mode of asyncio <asyncio-debug-mode>`.
Expand Down
1 change: 0 additions & 1 deletion Doc/tools/.nitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ Doc/howto/logging.rst
Doc/howto/urllib2.rst
Doc/library/abc.rst
Doc/library/ast.rst
Doc/library/asyncio-dev.rst
Doc/library/asyncio-eventloop.rst
Doc/library/asyncio-extending.rst
Doc/library/asyncio-policy.rst
Expand Down

0 comments on commit f3445ea

Please sign in to comment.