File tree 2 files changed +11
-4
lines changed
2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -238,9 +238,9 @@ Scheduling callbacks
238
238
See the :ref: `concurrency and multithreading <asyncio-multithreading >`
239
239
section of the documentation.
240
240
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.
244
244
245
245
.. _asyncio-pass-keywords :
246
246
@@ -1365,6 +1365,14 @@ Enabling debug mode
1365
1365
The new :ref: `Python Development Mode <devmode >` can now also be used
1366
1366
to enable the debug mode.
1367
1367
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
+
1368
1376
.. seealso ::
1369
1377
1370
1378
The :ref: `debug mode of asyncio <asyncio-debug-mode >`.
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ Doc/howto/urllib2.rst
31
31
Doc/library/__future__.rst
32
32
Doc/library/abc.rst
33
33
Doc/library/ast.rst
34
- Doc/library/asyncio-dev.rst
35
34
Doc/library/asyncio-eventloop.rst
36
35
Doc/library/asyncio-extending.rst
37
36
Doc/library/asyncio-policy.rst
You can’t perform that action at this time.
0 commit comments