summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGéry Ogam <gery.ogam@gmail.com>2022-02-11 14:42:54 (GMT)
committerGitHub <noreply@github.com>2022-02-11 14:42:54 (GMT)
commit4f9386661d51b78348395e78710f3bfbee9fd1de (patch)
tree9fee63ea77cfa8206c83b37384c0e7af4202596c /Doc
parent0ac5372bf6b937ed44a8f9c4e402d024fcd80870 (diff)
downloadcpython-4f9386661d51b78348395e78710f3bfbee9fd1de.zip
cpython-4f9386661d51b78348395e78710f3bfbee9fd1de.tar.gz
cpython-4f9386661d51b78348395e78710f3bfbee9fd1de.tar.bz2
Fix the signature of multiprocessing.set_executable (GH-31276)
Automerge-Triggered-By: GH:merwok
Diffstat (limited to 'Doc')
-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 9bb7dd3..cbbe184 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 ::