Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c1db513

Browse files
committed
repair errors in (set|get)_task_factory note (#28051)
1 parent cb3f2c8 commit c1db513

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

Doc/whatsnew/3.5.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -804,11 +804,12 @@ Notable changes in the :mod:`asyncio` module since Python 3.4.0:
804804
:func:`~asyncio.ensure_future`.
805805
(Contributed by Yury Selivanov.)
806806

807-
* New :meth:`loop.set_task_factory() <asyncio.BaseEventLoop.set_task_factory>`
808-
and :meth:`loop.set_task_factory() <asyncio.BaseEventLoop.get_task_factory>`
809-
methods to customize the task factory that
810-
:meth:`loop.create_task() <asyncio.BaseEventLoop.create_task>` method uses.
811-
(Contributed by Yury Selivanov.)
807+
* New :meth:`loop.set_task_factory()
808+
<asyncio.AbstractEventLoop.set_task_factory>` and
809+
:meth:`loop.get_task_factory() <asyncio.AbstractEventLoop.get_task_factory>`
810+
methods to customize the task factory that :meth:`loop.create_task()
811+
<asyncio.BaseEventLoop.create_task>` method uses. (Contributed by Yury
812+
Selivanov.)
812813

813814
* New :meth:`Queue.join() <asyncio.Queue.join>` and
814815
:meth:`Queue.task_done() <asyncio.Queue.task_done>` queue methods.

0 commit comments

Comments
 (0)