Skip to content

Commit ba6a4c0

Browse files
committed
Fix docs
1 parent b4939fd commit ba6a4c0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Doc/library/concurrent.futures.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -421,10 +421,9 @@ to a :class:`ProcessPoolExecutor` will result in deadlock.
421421
of them the given signal. If the signal is not specified, the default signal
422422
:data:`signal.SIGTERM` is used.
423423

424-
After calling :meth:`ProcessPoolExecutor.terminate_workers`, the caller, should
425-
no longer submit tasks to the executor. It is also recommended to still call
426-
:meth:`ProcessPoolExecutor.shutdown` to ensure that all other resources
427-
associated with the executor are freed.
424+
After calling this, the caller, should no longer submit tasks to the executor.
425+
It is also recommended to still call :meth:`Executor.shutdown` to ensure that all
426+
other resources associated with the executor are freed.
428427

429428
.. versionadded:: 3.14
430429

0 commit comments

Comments
 (0)