summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-01-07 16:49:53 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2016-01-07 16:49:53 (GMT)
commit6b51ddfa2262ba1883d2c2eceb7fa3afd6a24b5d (patch)
tree8bb5f432cc1abc403ae0eed9bfb9d01d646b633c
parent788db63265989080ad9cccc282369425ff3d0fde (diff)
downloadcpython-6b51ddfa2262ba1883d2c2eceb7fa3afd6a24b5d.zip
cpython-6b51ddfa2262ba1883d2c2eceb7fa3afd6a24b5d.tar.gz
cpython-6b51ddfa2262ba1883d2c2eceb7fa3afd6a24b5d.tar.bz2
Issue #5501: Clarify that invoking freeze_support() on non-Windows platforms has no effect
Patch by Davin Potts and Camilla Montonen.
-rw-r--r--Doc/library/multiprocessing.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst
index 2c765f5..cab4806 100644
--- a/Doc/library/multiprocessing.rst
+++ b/Doc/library/multiprocessing.rst
@@ -751,8 +751,10 @@ Miscellaneous
If the ``freeze_support()`` line is omitted then trying to run the frozen
executable will raise :exc:`RuntimeError`.
- If the module is being run normally by the Python interpreter then
- :func:`freeze_support` has no effect.
+ Calling ``freeze_support()`` has no effect when invoked on any operating
+ 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:: set_executable()