@@ -238,23 +238,18 @@ Creating Tasks
238238
239239-----------------------------------------------
240240
241- .. function :: create_task(coro, *, name=None, context=None, eager_start=None )
241+ .. function :: create_task(coro, *, name=None, context=None)
242242
243243 Wrap the *coro * :ref: `coroutine <coroutine >` into a :class: `Task `
244244 and schedule its execution. Return the Task object.
245245
246246 If *name * is not ``None ``, it is set as the name of the task using
247- the constructor or :meth: `Task.set_name `.
247+ :meth: `Task.set_name `.
248248
249249 An optional keyword-only *context * argument allows specifying a
250250 custom :class: `contextvars.Context ` for the *coro * to run in.
251251 The current context copy is created when no *context * is provided.
252252
253- An optional keyword-only *eager_start * argument allows specifying
254- if the task should execute eagerly during the call to create_task,
255- or be scheduled later. If the default ``None `` is passed the mode set
256- by :meth: `loop.set_task_factory ` will be used.
257-
258253 The task is executed in the loop returned by :func: `get_running_loop `,
259254 :exc: `RuntimeError ` is raised if there is no running loop in
260255 current thread.
@@ -295,9 +290,6 @@ Creating Tasks
295290 .. versionchanged :: 3.11
296291 Added the *context * parameter.
297292
298- .. versionchanged :: next
299- Added the *eager_start * parameter.
300-
301293
302294Task Cancellation
303295=================
@@ -338,7 +330,7 @@ and reliable way to wait for all tasks in the group to finish.
338330
339331 .. versionadded :: 3.11
340332
341- .. method :: create_task(coro, *, name=None, context=None, eager_start=None )
333+ .. method :: create_task(coro, *, name=None, context=None)
342334
343335 Create a task in this task group.
344336 The signature matches that of :func: `asyncio.create_task `.
@@ -350,10 +342,6 @@ and reliable way to wait for all tasks in the group to finish.
350342
351343 Close the given coroutine if the task group is not active.
352344
353- .. versionchanged :: next
354- Added the *eager_start * parameter.
355-
356-
357345Example::
358346
359347 async def main():
0 commit comments