Skip to content

Commit aaa755d

Browse files
miss-islingtonsobolevnwillingc
authored
[3.11] gh-101100: Fix sphinx warnings in library/asyncio-dev.rst (GH-111179) (#111186)
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 d0502a9 commit aaa755d

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
@@ -238,9 +238,9 @@ Scheduling callbacks
238238
See the :ref:`concurrency and multithreading <asyncio-multithreading>`
239239
section of the documentation.
240240

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

245245
.. _asyncio-pass-keywords:
246246

@@ -1365,6 +1365,14 @@ Enabling debug mode
13651365
The new :ref:`Python Development Mode <devmode>` can now also be used
13661366
to enable the debug mode.
13671367

1368+
.. attribute:: loop.slow_callback_duration
1369+
1370+
This attribute can be used to set the
1371+
minimum execution duration in seconds that is considered "slow".
1372+
When debug mode is enabled, "slow" callbacks are logged.
1373+
1374+
Default value is 100 milliseconds.
1375+
13681376
.. seealso::
13691377

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

Doc/tools/.nitignore

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ Doc/howto/urllib2.rst
3131
Doc/library/__future__.rst
3232
Doc/library/abc.rst
3333
Doc/library/ast.rst
34-
Doc/library/asyncio-dev.rst
3534
Doc/library/asyncio-eventloop.rst
3635
Doc/library/asyncio-extending.rst
3736
Doc/library/asyncio-policy.rst

0 commit comments

Comments
 (0)