From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 11 Feb 2022 15:08:44 +0000 (-0800) Subject: Fix the signature of multiprocessing.set_executable (GH-31276) X-Git-Tag: v3.9.11~85 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c23f4ab3f57c48dffbcf773b3907fdc36ffc98b7;p=thirdparty%2FPython%2Fcpython.git 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 --- diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index 4966be303f42..b62e1f8dba1b 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 ::