mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
[3.12] gh-115652: Fix indentation in the documentation of multiprocessing.get_start_method (GH-115658) (GH-115659)
(cherry picked from commit d504968983
)
Co-authored-by: Daniel Haag <121057143+denialhaag@users.noreply.github.com>
This commit is contained in:
parent
8a5731e7db
commit
94d1a7b853
1 changed files with 6 additions and 6 deletions
|
@ -1077,14 +1077,14 @@ Miscellaneous
|
|||
The return value can be ``'fork'``, ``'spawn'``, ``'forkserver'``
|
||||
or ``None``. See :ref:`multiprocessing-start-methods`.
|
||||
|
||||
.. versionchanged:: 3.8
|
||||
.. versionadded:: 3.4
|
||||
|
||||
.. versionchanged:: 3.8
|
||||
|
||||
On macOS, the *spawn* start method is now the default. The *fork* start
|
||||
method should be considered unsafe as it can lead to crashes of the
|
||||
subprocess. See :issue:`33725`.
|
||||
|
||||
.. versionadded:: 3.4
|
||||
|
||||
.. function:: set_executable(executable)
|
||||
|
||||
Set the path of the Python interpreter to use when starting a child process.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue