We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e68c72 commit 93ae860Copy full SHA for 93ae860
Lib/multiprocessing/context.py
@@ -150,8 +150,8 @@ def freeze_support(self):
150
151
# GH-135726: allow_none=True prevents this "get" call from setting the
152
# default context as the selected one as a side-effect.
153
- method = self.get_start_method(allow_none=True) \
154
- or _default_context.get_start_method(allow_none=True)
+ method = (self.get_start_method(allow_none=True)
+ or _default_context.get_start_method(allow_none=True))
155
if method != "spawn":
156
return
157
0 commit comments