From d0f1e5bf947c4b318f299304c95c237baae4eeed Mon Sep 17 00:00:00 2001 From: Damien-Chen Date: Mon, 5 Aug 2024 09:46:56 +0800 Subject: [PATCH 1/2] Fix incorrect description --- Doc/library/concurrent.futures.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/concurrent.futures.rst b/Doc/library/concurrent.futures.rst index 48e027152a9851..c8893597177085 100644 --- a/Doc/library/concurrent.futures.rst +++ b/Doc/library/concurrent.futures.rst @@ -523,7 +523,7 @@ The :class:`Future` class encapsulates the asynchronous execution of a callable. running. Added callables are called in the order that they were added and are - always called in a thread belonging to the process that added them. If + always called in where :meth:`Future.set_result` is called according to its source. If the callable raises an :exc:`Exception` subclass, it will be logged and ignored. If the callable raises a :exc:`BaseException` subclass, the behavior is undefined. From b15e1f82e3124f2d8d84b251338ca55e5aa9858d Mon Sep 17 00:00:00 2001 From: Damien-Chen Date: Sun, 20 Oct 2024 13:51:12 +0800 Subject: [PATCH 2/2] Remove "where" --- Doc/library/concurrent.futures.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/concurrent.futures.rst b/Doc/library/concurrent.futures.rst index c8893597177085..1c639a0b135916 100644 --- a/Doc/library/concurrent.futures.rst +++ b/Doc/library/concurrent.futures.rst @@ -523,7 +523,7 @@ The :class:`Future` class encapsulates the asynchronous execution of a callable. running. Added callables are called in the order that they were added and are - always called in where :meth:`Future.set_result` is called according to its source. If + always called in :meth:`Future.set_result` is called according to its source. If the callable raises an :exc:`Exception` subclass, it will be logged and ignored. If the callable raises a :exc:`BaseException` subclass, the behavior is undefined.