[Python-checkins] cpython (2.7): Fix a few typo/grammar issues in the multiprocessing docs.

zach.ware python-checkins at python.org
Fri Oct 3 17:56:20 CEST 2014


https://hg.python.org/cpython/rev/18c40112122b
changeset:   92771:18c40112122b
branch:      2.7
parent:      92763:4a5f79ca8ef0
user:        Zachary Ware <zachary.ware at gmail.com>
date:        Fri Oct 03 10:55:12 2014 -0500
summary:
  Fix a few typo/grammar issues in the multiprocessing docs.

Reported by Scott Hinton on docs at .

files:
  Doc/library/multiprocessing.rst |  6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)


diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst
--- a/Doc/library/multiprocessing.rst
+++ b/Doc/library/multiprocessing.rst
@@ -694,7 +694,7 @@
 
    Return list of all live children of the current process.
 
-   Calling this has the side affect of "joining" any processes which have
+   Calling this has the side effect of "joining" any processes which have
    already finished.
 
 .. function:: cpu_count()
@@ -2142,7 +2142,7 @@
     items which have been put on the queue will eventually be removed before the
     process is joined.  Otherwise you cannot be sure that processes which have
     put items on the queue will terminate.  Remember also that non-daemonic
-    processes will be automatically be joined.
+    processes will be joined automatically.
 
     An example which will deadlock is the following::
 
@@ -2158,7 +2158,7 @@
             p.join()                    # this deadlocks
             obj = queue.get()
 
-    A fix here would be to swap the last two lines round (or simply remove the
+    A fix here would be to swap the last two lines (or simply remove the
     ``p.join()`` line).
 
 Explicitly pass resources to child processes

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list