mirror of https://github.com/python/cpython
gh-115652: Fix indentation in the documentation of multiprocessing.get_start_method (GH-115658)
This commit is contained in:
parent
aa8c1a0d16
commit
d504968983
|
@ -1084,14 +1084,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.
|
||||||
|
|
Loading…
Reference in New Issue