From efa52eda6199ac0e332390fd8a45969e440f3ed7 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Sat, 10 Jan 2026 07:53:21 +0100 Subject: [PATCH] [3.14] gh-72239: Add note distinguishing concurrent.futures.Future from asyncio.Future (GH-143288) (#143607) gh-72239: Add note distinguishing concurrent.futures.Future from asyncio.Future (GH-143288) (cherry picked from commit a9ca49d9c699ce4040f1391d9054d88b4098466b) Co-authored-by: AN Long --- Doc/library/concurrent.futures.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Doc/library/concurrent.futures.rst b/Doc/library/concurrent.futures.rst index 8b6d749f40cb..e4b505c3f976 100644 --- a/Doc/library/concurrent.futures.rst +++ b/Doc/library/concurrent.futures.rst @@ -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 ` +documentation for a detailed comparison of the two. + .. include:: ../includes/wasm-notavail.rst Executor Objects -- 2.47.3