Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
csm10495 committed Dec 17, 2024
1 parent b4939fd commit ba6a4c0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Doc/library/concurrent.futures.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ba6a4c0

Please sign in to comment.