summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-02-14 20:11:02 (GMT)
committerGitHub <noreply@github.com>2022-02-14 20:11:02 (GMT)
commit543242ad8ccbf098c23a192a0f2b0767d9ee198a (patch)
tree61050d2ea5cf15d04098a3ba198b1a9a6335bb1d
parenta414cb35c2cbfc9516484fdef382c7487a54f563 (diff)
downloadcpython-543242ad8ccbf098c23a192a0f2b0767d9ee198a.zip
cpython-543242ad8ccbf098c23a192a0f2b0767d9ee198a.tar.gz
cpython-543242ad8ccbf098c23a192a0f2b0767d9ee198a.tar.bz2
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@gmail.com> Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
-rw-r--r--Doc/library/multiprocessing.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst
index e0954b2..096e649 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 ::