]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
repair errors in (set|get)_task_factory note (#28051)
authorBenjamin Peterson <benjamin@python.org>
Fri, 9 Sep 2016 19:46:42 +0000 (12:46 -0700)
committerBenjamin Peterson <benjamin@python.org>
Fri, 9 Sep 2016 19:46:42 +0000 (12:46 -0700)
Doc/whatsnew/3.5.rst

index 339dbb6d3dad0281ac6367cb0223c90cb55d6155..9b71f6677a16a01103ae58cee0b651f7c95f4922 100644 (file)
@@ -804,11 +804,12 @@ Notable changes in the :mod:`asyncio` module since Python 3.4.0:
   :func:`~asyncio.ensure_future`.
   (Contributed by Yury Selivanov.)
 
-* New :meth:`loop.set_task_factory() <asyncio.BaseEventLoop.set_task_factory>`
-  and :meth:`loop.set_task_factory() <asyncio.BaseEventLoop.get_task_factory>`
-  methods to customize the task factory that
-  :meth:`loop.create_task() <asyncio.BaseEventLoop.create_task>` method uses.
-  (Contributed by Yury Selivanov.)
+* New :meth:`loop.set_task_factory()
+  <asyncio.AbstractEventLoop.set_task_factory>` and
+  :meth:`loop.get_task_factory() <asyncio.AbstractEventLoop.get_task_factory>`
+  methods to customize the task factory that :meth:`loop.create_task()
+  <asyncio.BaseEventLoop.create_task>` method uses.  (Contributed by Yury
+  Selivanov.)
 
 * New :meth:`Queue.join() <asyncio.Queue.join>` and
   :meth:`Queue.task_done() <asyncio.Queue.task_done>` queue methods.