Skip to content

Commit

Permalink
Fix the signature of multiprocessing.set_executable (GH-31276)
Browse files Browse the repository at this point in the history
Automerge-Triggered-By: GH:merwok
(cherry picked from commit 4f93866)

Co-authored-by: Géry Ogam <gery.ogam@gmail.com>

Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
  • Loading branch information
miss-islington and geryogam committed Feb 14, 2022
1 parent a414cb3 commit 543242a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/library/multiprocessing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 ::

Expand Down

0 comments on commit 543242a

Please sign in to comment.