summaryrefslogtreecommitdiffstats
path: root/Doc/library/multiprocessing.rst
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-01-07 16:45:22 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2016-01-07 16:45:22 (GMT)
commit94541f464c053833d79e34e5f42990607b5d7876 (patch)
tree08a3e2c16082a759e305435091bfeb543500e6d7 /Doc/library/multiprocessing.rst
parent0deaf9ac3020ba094d01816b568b85fdc02c6da9 (diff)
downloadcpython-94541f464c053833d79e34e5f42990607b5d7876.zip
cpython-94541f464c053833d79e34e5f42990607b5d7876.tar.gz
cpython-94541f464c053833d79e34e5f42990607b5d7876.tar.bz2
Issue #5501: Clarify that invoking freeze_support() on non-Windows platforms has no effect
Patch by Davin Potts and Camilla Montonen.
Diffstat (limited to 'Doc/library/multiprocessing.rst')
-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 8575fb5..e369e2b 100644
--- a/Doc/library/multiprocessing.rst
+++ b/Doc/library/multiprocessing.rst
@@ -901,8 +901,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:: get_all_start_methods()