]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix the signature of multiprocessing.set_executable (GH-31276)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 14 Feb 2022 20:11:02 +0000 (12:11 -0800)
committerGitHub <noreply@github.com>
Mon, 14 Feb 2022 20:11:02 +0000 (12:11 -0800)
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>
Doc/library/multiprocessing.rst

index e0954b285b37b87f912c987f7fe0c2366e9e621c..096e6492cd42e86529549cdef50be3491abf406e 100644 (file)
@@ -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 ::