Skip to content

Commit 8a20d28

Browse files
sobolevnwillingc
authored andcommitted
pythongh-101100: Fix sphinx warnings in library/asyncio-dev.rst (pythonGH-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 <[email protected]>
1 parent 2d6a51c commit 8a20d28

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

Doc/library/asyncio-eventloop.rst

+11-3
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

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ Doc/howto/logging.rst
3030
Doc/howto/urllib2.rst
3131
Doc/library/abc.rst
3232
Doc/library/ast.rst
33-
Doc/library/asyncio-dev.rst
3433
Doc/library/asyncio-eventloop.rst
3534
Doc/library/asyncio-extending.rst
3635
Doc/library/asyncio-policy.rst

0 commit comments

Comments
 (0)