From f269af370c4bca924c23ebba5c410a25e538fc4a Mon Sep 17 00:00:00 2001 From: Daniel Haag Date: Mon, 19 Feb 2024 14:59:37 +0100 Subject: [PATCH 1/2] Fix indentation --- Doc/library/multiprocessing.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index d570d4eb0dae78..65f7bb066f6019 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -1084,11 +1084,11 @@ Miscellaneous The return value can be ``'fork'``, ``'spawn'``, ``'forkserver'`` or ``None``. See :ref:`multiprocessing-start-methods`. -.. versionchanged:: 3.8 + .. 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`. + 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 From 44d9cf2307d1679e0cdba27712bb846caacc6f4e Mon Sep 17 00:00:00 2001 From: Daniel Haag Date: Mon, 19 Feb 2024 15:20:19 +0100 Subject: [PATCH 2/2] Change order of directives --- Doc/library/multiprocessing.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index 65f7bb066f6019..41ccd5f88186f6 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -1084,14 +1084,14 @@ Miscellaneous The return value can be ``'fork'``, ``'spawn'``, ``'forkserver'`` or ``None``. See :ref:`multiprocessing-start-methods`. + .. 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`. - .. versionadded:: 3.4 - .. function:: set_executable(executable) Set the path of the Python interpreter to use when starting a child process.