]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-72239: Add note distinguishing concurrent.futures.Future from asyncio.Future ...
authorAN Long <aisk@users.noreply.github.com>
Fri, 9 Jan 2026 12:18:32 +0000 (21:18 +0900)
committerGitHub <noreply@github.com>
Fri, 9 Jan 2026 12:18:32 +0000 (17:48 +0530)
Doc/library/concurrent.futures.rst

index 8b6d749f40cbf0dc9cb93b4f49736a0d354cdad1..e4b505c3f9761e354394b9348de2fe7d72b9b746 100644 (file)
@@ -21,6 +21,11 @@ or separate processes, using :class:`ProcessPoolExecutor`.
 Each implements the same interface, which is defined
 by the abstract :class:`Executor` class.
 
+:class:`concurrent.futures.Future` must not be confused with
+:class:`asyncio.Future`, which is designed for use with :mod:`asyncio`
+tasks and coroutines. See the :doc:`asyncio's Future <asyncio-future>`
+documentation for a detailed comparison of the two.
+
 .. include:: ../includes/wasm-notavail.rst
 
 Executor Objects