@@ -1118,7 +1118,9 @@ Miscellaneous
1118
1118
Return a context object which has the same attributes as the
1119
1119
:mod: `multiprocessing ` module.
1120
1120
1121
- If *method * is ``None `` then the default context is returned.
1121
+ If *method * is ``None `` then the default context is returned. Note that if
1122
+ the global start method has not been set, this will set it to the
1123
+ default method.
1122
1124
Otherwise *method * should be ``'fork' ``, ``'spawn' ``,
1123
1125
``'forkserver' ``. :exc: `ValueError ` is raised if the specified
1124
1126
start method is not available. See :ref: `multiprocessing-start-methods `.
@@ -1129,10 +1131,10 @@ Miscellaneous
1129
1131
1130
1132
Return the name of start method used for starting processes.
1131
1133
1132
- If the start method has not been fixed and *allow_none * is false,
1133
- then the start method is fixed to the default and the name is
1134
- returned. If the start method has not been fixed and *allow_none *
1135
- is true then ``None `` is returned.
1134
+ If the global start method has not been set and *allow_none * is
1135
+ `` False ``, then the start method is set to the default and the name
1136
+ is returned. If the start method has not been set and *allow_none * is
1137
+ `` True `` then ``None `` is returned.
1136
1138
1137
1139
The return value can be ``'fork' ``, ``'spawn' ``, ``'forkserver' ``
1138
1140
or ``None ``. See :ref: `multiprocessing-start-methods `.
0 commit comments