Skip to content

Commit 93ae860

Browse files
Update Lib/multiprocessing/context.py
Co-authored-by: Serhiy Storchaka <[email protected]>
1 parent 0e68c72 commit 93ae860

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/multiprocessing/context.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ def freeze_support(self):
150150

151151
# GH-135726: allow_none=True prevents this "get" call from setting the
152152
# 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)
153+
method = (self.get_start_method(allow_none=True)
154+
or _default_context.get_start_method(allow_none=True))
155155
if method != "spawn":
156156
return
157157

0 commit comments

Comments
 (0)