[Python-checkins] Fix the signature of multiprocessing.set_executable (GH-31276)
miss-islington
webhook-mailer at python.org
Fri Feb 11 09:43:10 EST 2022
https://github.com/python/cpython/commit/4f9386661d51b78348395e78710f3bfbee9fd1de
commit: 4f9386661d51b78348395e78710f3bfbee9fd1de
branch: main
author: Géry Ogam <gery.ogam at gmail.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-02-11T06:42:54-08:00
summary:
Fix the signature of multiprocessing.set_executable (GH-31276)
Automerge-Triggered-By: GH:merwok
files:
M Doc/library/multiprocessing.rst
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst
index 9bb7dd3d703ab..cbbe1840fc351 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