[Python-checkins] Fix the signature of multiprocessing.set_executable (GH-31276)
Mariatta
webhook-mailer at python.org
Mon Feb 14 15:11:22 EST 2022
https://github.com/python/cpython/commit/543242ad8ccbf098c23a192a0f2b0767d9ee198a
commit: 543242ad8ccbf098c23a192a0f2b0767d9ee198a
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Mariatta <Mariatta at users.noreply.github.com>
date: 2022-02-14T12:11:02-08:00
summary:
Fix the signature of multiprocessing.set_executable (GH-31276)
Automerge-Triggered-By: GH:merwok
(cherry picked from commit 4f9386661d51b78348395e78710f3bfbee9fd1de)
Co-authored-by: Géry Ogam <gery.ogam at gmail.com>
Co-authored-by: Géry Ogam <gery.ogam at gmail.com>
files:
M Doc/library/multiprocessing.rst
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst
index e0954b285b37b..096e6492cd42e 100644
--- a/Doc/library/multiprocessing.rst
+++ b/Doc/library/multiprocessing.rst
@@ -1047,9 +1047,9 @@ Miscellaneous
.. versionadded:: 3.4
-.. function:: set_executable()
+.. function:: set_executable(executable)
- Sets the path of the Python interpreter to use when starting a child process.
+ Set the path of the Python interpreter to use when starting a child process.
(By default :data:`sys.executable` is used). Embedders will probably need to
do some thing like ::
More information about the Python-checkins
mailing list