Skip to content

Commit 5c26ed7

Browse files
Apply suggestions from code review
Co-authored-by: Guido van Rossum <[email protected]>
1 parent 8088dac commit 5c26ed7

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

Doc/library/asyncio-eventloop.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -390,12 +390,11 @@ Creating Futures and Tasks
390390
Added the *context* parameter.
391391

392392
.. versionchanged:: 3.13.3
393-
Added ``kwargs`` which always passes on ``kwargs`` such as the *eager_start*
394-
parameter and *name* parameter.
393+
Added ``kwargs`` which passes on arbitrary extra parameters, including ``name`` and ``context``.
395394

396395
.. versionchanged:: 3.13.4
397396
Rolled back the change that passes on *name* and *context* (if it is None),
398-
passing on new keyword arguments such as *eager_start* is still supported.
397+
while still passing on other arbitrary keyword arguments (to avoid breaking backwards compatibility with 3.13.3).
399398

400399
.. method:: loop.set_task_factory(factory)
401400

@@ -409,11 +408,11 @@ Creating Futures and Tasks
409408
must pass on all *kwargs*, and return a :class:`asyncio.Task`-compatible object.
410409

411410
.. versionchanged:: 3.13.3
412-
Required that all *kwargs* are passed on to :class:`asyncio.Task`.
411+
Required that all *kwargs* are passed on to :class:`asyncio.Task`.
413412

414413
.. versionchanged:: 3.13.4
415-
*name* is no longer passed to task factories. *context* is no longer passed
416-
to task factories if it is ``None``.
414+
*name* is no longer passed to task factories. *context* is no longer passed
415+
to task factories if it is ``None``.
417416

418417
.. method:: loop.get_task_factory()
419418

0 commit comments

Comments
 (0)