diff options
author | Yury Selivanov <yury@magic.io> | 2017-12-11 15:03:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-11 15:03:48 (GMT) |
commit | 9edad3c7011ccab0a66a065933abebf3288cf1a1 (patch) | |
tree | 23d6606e290e810ddf8b5c428873ea56a19e1578 /Doc | |
parent | 1b74f9b77a6fa1d7828986cb79d5b10942ff9141 (diff) | |
download | cpython-9edad3c7011ccab0a66a065933abebf3288cf1a1.zip cpython-9edad3c7011ccab0a66a065933abebf3288cf1a1.tar.gz cpython-9edad3c7011ccab0a66a065933abebf3288cf1a1.tar.bz2 |
bpo-32272: Remove asyncio.async() function. (#4784)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/asyncio-eventloop.rst | 3 | ||||
-rw-r--r-- | Doc/library/asyncio-task.rst | 6 |
2 files changed, 0 insertions, 9 deletions
diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst index 760640f..c582b27 100644 --- a/Doc/library/asyncio-eventloop.rst +++ b/Doc/library/asyncio-eventloop.rst @@ -235,9 +235,6 @@ Tasks interoperability. In this case, the result type is a subclass of :class:`Task`. - This method was added in Python 3.4.2. Use the :func:`async` function to - support also older Python versions. - .. versionadded:: 3.4.2 .. method:: AbstractEventLoop.set_task_factory(factory) diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst index ff35b0a..3656f79 100644 --- a/Doc/library/asyncio-task.rst +++ b/Doc/library/asyncio-task.rst @@ -538,12 +538,6 @@ Task functions The :meth:`AbstractEventLoop.create_task` method. -.. function:: async(coro_or_future, \*, loop=None) - - A deprecated alias to :func:`ensure_future`. - - .. deprecated:: 3.4.4 - .. function:: wrap_future(future, \*, loop=None) Wrap a :class:`concurrent.futures.Future` object in a :class:`Future` |