Skip to content

Commit 06fe868

Browse files
miss-islingtonsobolevnwillingc
authored
[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 8c689c9) Co-authored-by: Nikita Sobolev <[email protected]> Co-authored-by: Carol Willing <[email protected]>
1 parent f2f89bf commit 06fe868

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

Doc/library/asyncio-eventloop.rst

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,9 @@ Scheduling callbacks
243243
See the :ref:`concurrency and multithreading <asyncio-multithreading>`
244244
section of the documentation.
245245

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

250250
.. _asyncio-pass-keywords:
251251

@@ -1391,6 +1391,14 @@ Enabling debug mode
13911391
The new :ref:`Python Development Mode <devmode>` can now also be used
13921392
to enable the debug mode.
13931393

1394+
.. attribute:: loop.slow_callback_duration
1395+
1396+
This attribute can be used to set the
1397+
minimum execution duration in seconds that is considered "slow".
1398+
When debug mode is enabled, "slow" callbacks are logged.
1399+
1400+
Default value is 100 milliseconds.
1401+
13941402
.. seealso::
13951403

13961404
The :ref:`debug mode of asyncio <asyncio-debug-mode>`.

Doc/tools/.nitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ Doc/library/__future__.rst
3434
Doc/library/abc.rst
3535
Doc/library/aifc.rst
3636
Doc/library/ast.rst
37-
Doc/library/asyncio-dev.rst
3837
Doc/library/asyncio-eventloop.rst
3938
Doc/library/asyncio-extending.rst
4039
Doc/library/asyncio-policy.rst

0 commit comments

Comments
 (0)