From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 11 Nov 2025 04:58:30 +0000 (+0100) Subject: [3.13] gh-140578: Doc: Remove sencence implying that concurrent.futures.ThreadPoolExe... X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a9c00827dd9f9764ed4ce460b4dbe02745f6f34f;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-140578: Doc: Remove sencence implying that concurrent.futures.ThreadPoolExecutor does not exist (GH-140689) (#141383) gh-140578: Doc: Remove sencence implying that concurrent.futures.ThreadPoolExecutor does not exist (GH-140689) * Doc: Remove sencence implying that concurrent.futures.ThreadPoolExecutor does not exist Closes GH-140578 * Add NEWS.d entry for gh-140578 --------- (cherry picked from commit 46b58e1bb9e1e17d855588935f5a259be960a3a1) Co-authored-by: Louis Co-authored-by: Louis Paternault --- diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index a2fbd95ba986..898ab663a6ef 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -22,8 +22,7 @@ to this, the :mod:`multiprocessing` module allows the programmer to fully leverage multiple processors on a given machine. It runs on both POSIX and Windows. -The :mod:`multiprocessing` module also introduces APIs which do not have -analogs in the :mod:`threading` module. A prime example of this is the +The :mod:`multiprocessing` module also introduces the :class:`~multiprocessing.pool.Pool` object which offers a convenient means of parallelizing the execution of a function across multiple input values, distributing the input data across processes (data parallelism). The following @@ -44,6 +43,10 @@ will print to standard output :: [1, 4, 9] +The :mod:`multiprocessing` module also introduces APIs which do not have +analogs in the :mod:`threading` module, like the ability to :meth:`terminate +`, :meth:`interrupt ` or :meth:`kill +` a running process. .. seealso:: diff --git a/Misc/NEWS.d/next/Documentation/2025-10-27-23-06-01.gh-issue-140578.FMBdEn.rst b/Misc/NEWS.d/next/Documentation/2025-10-27-23-06-01.gh-issue-140578.FMBdEn.rst new file mode 100644 index 000000000000..702d38d4d24d --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2025-10-27-23-06-01.gh-issue-140578.FMBdEn.rst @@ -0,0 +1,3 @@ +Remove outdated sencence in the documentation for :mod:`multiprocessing`, +that implied that :class:`concurrent.futures.ThreadPoolExecutor` did not +exist.