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

(cherry picked from commit af90b5498b)

Co-authored-by: Sam Sneddon <me@gsnedders.com>
This commit is contained in:
Miss Islington (bot) 2021-09-23 14:38:44 -07:00 committed by GitHub
parent 55576893b3
commit 809d298f60
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