[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:
Miss Islington (bot) 2024-02-19 16:09:21 +01:00 committed by GitHub
parent 8a5731e7db
commit 94d1a7b853
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1077,14 +1077,14 @@ Miscellaneous
The return value can be ``'fork'``, ``'spawn'``, ``'forkserver'`` The return value can be ``'fork'``, ``'spawn'``, ``'forkserver'``
or ``None``. See :ref:`multiprocessing-start-methods`. or ``None``. See :ref:`multiprocessing-start-methods`.
.. 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 .. 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`.
.. function:: set_executable(executable) .. function:: set_executable(executable)
Set 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.