[docs] Update documentation for multiprocessing.get_start_method (GH-18170)

This commit is contained in:
Sam Sneddon 2021-09-23 22:03:13 +01:00 committed by GitHub
parent 8492b729ae
commit af90b5498b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1030,7 +1030,13 @@ Miscellaneous
The return value can be ``'fork'``, ``'spawn'``, ``'forkserver'``
or ``None``. ``'fork'`` is the default on Unix, while ``'spawn'`` is
the default on Windows.
the default on Windows and macOS.
.. 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