From ba6a4c04f29945c6932e7718bea26c576ad7a271 Mon Sep 17 00:00:00 2001 From: Charles Machalow Date: Tue, 17 Dec 2024 12:48:32 -0800 Subject: [PATCH] Fix docs --- Doc/library/concurrent.futures.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Doc/library/concurrent.futures.rst b/Doc/library/concurrent.futures.rst index 693d1356946e5e..20159488d7c646 100644 --- a/Doc/library/concurrent.futures.rst +++ b/Doc/library/concurrent.futures.rst @@ -421,10 +421,9 @@ to a :class:`ProcessPoolExecutor` will result in deadlock. of them the given signal. If the signal is not specified, the default signal :data:`signal.SIGTERM` is used. - After calling :meth:`ProcessPoolExecutor.terminate_workers`, the caller, should - no longer submit tasks to the executor. It is also recommended to still call - :meth:`ProcessPoolExecutor.shutdown` to ensure that all other resources - associated with the executor are freed. + After calling this, the caller, should no longer submit tasks to the executor. + It is also recommended to still call :meth:`Executor.shutdown` to ensure that all + other resources associated with the executor are freed. .. versionadded:: 3.14