Skip to content

Commit 90f9ef2

Browse files
authored
Update Lib/asyncio/tasks.py
1 parent 8ad26fc commit 90f9ef2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/asyncio/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1008,7 +1008,7 @@ def create_eager_task_factory(custom_task_constructor):
10081008
used. E.g. `loop.set_task_factory(asyncio.eager_task_factory)`.
10091009
"""
10101010

1011-
def factory(loop, coro, eager_start=True, **kwargs):
1011+
def factory(loop, coro, *, eager_start=True, **kwargs):
10121012
return custom_task_constructor(
10131013
coro, loop=loop, eager_start=eager_start, **kwargs)
10141014

0 commit comments

Comments
 (0)