Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 94541f4

Browse files
committed
Issue #5501: Clarify that invoking freeze_support() on non-Windows platforms has no effect
Patch by Davin Potts and Camilla Montonen.
1 parent 0deaf9a commit 94541f4

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Doc/library/multiprocessing.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -901,8 +901,10 @@ Miscellaneous
901901
If the ``freeze_support()`` line is omitted then trying to run the frozen
902902
executable will raise :exc:`RuntimeError`.
903903

904-
If the module is being run normally by the Python interpreter then
905-
:func:`freeze_support` has no effect.
904+
Calling ``freeze_support()`` has no effect when invoked on any operating
905+
system other than Windows. In addition, if the module is being run
906+
normally by the Python interpreter on Windows (the program has not been
907+
frozen), then ``freeze_support()`` has no effect.
906908

907909
.. function:: get_all_start_methods()
908910

0 commit comments

Comments
 (0)