summaryrefslogtreecommitdiffstats
path: root/Doc/library/asyncio-task.rst
diff options
context:
space:
mode:
authorAntoine Pitrou <pitrou@free.fr>2017-11-07 16:03:28 (GMT)
committerGitHub <noreply@github.com>2017-11-07 16:03:28 (GMT)
commit22b1128559bdeb96907da5840960691bb050d11a (patch)
treed2555daea1452b34695fc19efb2c7a5242a6a755 /Doc/library/asyncio-task.rst
parent39a156c505b7dc431a0a4cffcbefca577848db38 (diff)
downloadcpython-22b1128559bdeb96907da5840960691bb050d11a.zip
cpython-22b1128559bdeb96907da5840960691bb050d11a.tar.gz
cpython-22b1128559bdeb96907da5840960691bb050d11a.tar.bz2
bpo-31960: Fix asyncio.Future documentation for thread (un)safety. (#4319)
Diffstat (limited to 'Doc/library/asyncio-task.rst')
-rw-r--r--Doc/library/asyncio-task.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst
index fbb31b8..ff35b0a 100644
--- a/Doc/library/asyncio-task.rst
+++ b/Doc/library/asyncio-task.rst
@@ -216,7 +216,7 @@ Future
raise an exception when the future isn't done yet.
- Callbacks registered with :meth:`add_done_callback` are always called
- via the event loop's :meth:`~AbstractEventLoop.call_soon_threadsafe`.
+ via the event loop's :meth:`~AbstractEventLoop.call_soon`.
- This class is not compatible with the :func:`~concurrent.futures.wait` and
:func:`~concurrent.futures.as_completed` functions in the