diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-02-14 20:11:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-14 20:11:02 (GMT) |
commit | 543242ad8ccbf098c23a192a0f2b0767d9ee198a (patch) | |
tree | 61050d2ea5cf15d04098a3ba198b1a9a6335bb1d | |
parent | a414cb35c2cbfc9516484fdef382c7487a54f563 (diff) | |
download | cpython-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.rst | 4 |
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 :: |