Issue #5501: Clarify that invoking freeze_support() on non-Windows platforms has no effect

Patch by Davin Potts and Camilla Montonen.
This commit is contained in:
Berker Peksag 2016-01-07 18:45:47 +02:00
commit d56e67e116

View file

@ -906,8 +906,10 @@ Miscellaneous
If the ``freeze_support()`` line is omitted then trying to run the frozen If the ``freeze_support()`` line is omitted then trying to run the frozen
executable will raise :exc:`RuntimeError`. executable will raise :exc:`RuntimeError`.
If the module is being run normally by the Python interpreter then Calling ``freeze_support()`` has no effect when invoked on any operating
:func:`freeze_support` has no effect. system other than Windows. In addition, if the module is being run
normally by the Python interpreter on Windows (the program has not been
frozen), then ``freeze_support()`` has no effect.
.. function:: get_all_start_methods() .. function:: get_all_start_methods()