Skip to content

Commit 1107608

Browse files
authored
use presense rather than None-ness to determine default eager_start behaviour
1 parent 90f9ef2 commit 1107608

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/asyncio-eventloop.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ Creating Futures and Tasks
363363

364364
.. versionadded:: 3.5.2
365365

366-
.. method:: loop.create_task(coro, *, name=None, context=None, eager_start=None)
366+
.. method:: loop.create_task(coro, *, name=None, context=None, eager_start=...)
367367

368368
Schedule the execution of :ref:`coroutine <coroutine>` *coro*.
369369
Return a :class:`Task` object.
@@ -381,7 +381,7 @@ Creating Futures and Tasks
381381

382382
An optional keyword-only *eager_start* argument allows specifying
383383
if the task should execute eagerly during the call to create_task,
384-
or be scheduled later. If the default ``None`` is passed the mode set
384+
or be scheduled later. If the *eager_start* is not passed the mode set
385385
by :meth:`loop.set_task_factory` will be used.
386386

387387
.. versionchanged:: 3.8

0 commit comments

Comments
 (0)