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

Skip to content

Commit 7280561

Browse files
committed
Fix a few typo/grammar issues in the multiprocessing docs.
Reported by Scott Hinton on docs@.
1 parent 32562d7 commit 7280561

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/multiprocessing.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ Miscellaneous
842842

843843
Return list of all live children of the current process.
844844

845-
Calling this has the side affect of "joining" any processes which have
845+
Calling this has the side effect of "joining" any processes which have
846846
already finished.
847847

848848
.. function:: cpu_count()
@@ -2464,7 +2464,7 @@ Joining processes that use queues
24642464
items which have been put on the queue will eventually be removed before the
24652465
process is joined. Otherwise you cannot be sure that processes which have
24662466
put items on the queue will terminate. Remember also that non-daemonic
2467-
processes will be automatically be joined.
2467+
processes will be joined automatically.
24682468

24692469
An example which will deadlock is the following::
24702470

@@ -2480,7 +2480,7 @@ Joining processes that use queues
24802480
p.join() # this deadlocks
24812481
obj = queue.get()
24822482

2483-
A fix here would be to swap the last two lines round (or simply remove the
2483+
A fix here would be to swap the last two lines (or simply remove the
24842484
``p.join()`` line).
24852485

24862486
Explicitly pass resources to child processes

0 commit comments

Comments
 (0)