mirror of
https://github.com/python/cpython.git
synced 2025-09-25 01:43:11 +00:00
Issue #12042: merge with 3.2
This commit is contained in:
commit
b1d44dbf1f
1 changed files with 2 additions and 2 deletions
|
@ -615,8 +615,8 @@ multiple of 4.
|
|||
result = queue.get()
|
||||
print 'Factorial', N, '=', result
|
||||
|
||||
A :class:`Queue` is used to communicate the input parameter *N* and
|
||||
the result. The :class:`Queue` object is stored in a global variable.
|
||||
A :class:`Queue` is used to communicate the result of the factorial.
|
||||
The :class:`Queue` object is stored in a global variable.
|
||||
The child process will use the value of the variable when the child
|
||||
was created; because it's a :class:`Queue`, parent and child can use
|
||||
the object to communicate. (If the parent were to change the value of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue