Skip to content

Commit c85562f

Browse files
aisksharktide
andauthored
Apply suggestions from code review
Co-authored-by: R Chintan Meher <[email protected]>
1 parent 982c7c2 commit c85562f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Doc/library/multiprocessing.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -518,9 +518,9 @@ Global start method
518518

519519
Python supports several ways to create and initialize a process. The global start method sets the default mechanism for creating a process.
520520

521-
Several multiprocessing functions and methods, as well as creating some objects, will implicitly
522-
set the global start method to the system's default, if the global start method is not already
523-
set. The global start method can only be done once. If you need to change the
521+
Several multiprocessing functions and methods that may also instantiate
522+
certain objects will implicitly set the global start method to the system's default,
523+
if it hasn’t been set already. The global start method can only be set once. If you need to change the
524524
start method from the system default, you must proactively set the global start method
525525
before calling functions or methods, or creating these objects.
526526

@@ -1141,7 +1141,7 @@ Miscellaneous
11411141
:mod:`multiprocessing` module.
11421142

11431143
If *method* is ``None`` then the default context is returned. Note that if
1144-
the global start method has not been set, this will set it.
1144+
the global start method has not been set, this will set it to the system default
11451145
See :ref:`global-start-method` for more details.
11461146
Otherwise *method* should be ``'fork'``, ``'spawn'``,
11471147
``'forkserver'``. :exc:`ValueError` is raised if the specified
@@ -1153,7 +1153,7 @@ Miscellaneous
11531153

11541154
Return the name of start method used for starting processes.
11551155

1156-
If the start method is not set and *allow_none* is ``False``, the start
1156+
If the global start method is not set and *allow_none* is ``False``, the global start
11571157
method is set to the default, and its name is returned. See
11581158
:ref:`global-start-method` for more details.
11591159

0 commit comments

Comments
 (0)