gh-115652: Fix indentation in the documentation of multiprocessing.get_start_method (GH-115658)

This commit is contained in:
Daniel Haag 2024-02-19 15:26:23 +01:00 committed by GitHub
parent aa8c1a0d16
commit d504968983
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 6 deletions

View File

@ -1084,14 +1084,14 @@ Miscellaneous
The return value can be ``'fork'``, ``'spawn'``, ``'forkserver'``
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
.. 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)
Set the path of the Python interpreter to use when starting a child process.