]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix the signature of multiprocessing.set_executable (GH-31276)
authorGéry Ogam <gery.ogam@gmail.com>
Fri, 11 Feb 2022 14:42:54 +0000 (15:42 +0100)
committerGitHub <noreply@github.com>
Fri, 11 Feb 2022 14:42:54 +0000 (06:42 -0800)
Automerge-Triggered-By: GH:merwok
Doc/library/multiprocessing.rst

index 9bb7dd3d703ab1de755df79c725b596873341f16..cbbe1840fc3515135c8186ece2affc2340285646 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 ::