Issue #12042: merge with 3.2

This commit is contained in:
Sandro Tosi 2012-01-05 19:49:27 +01:00
commit b1d44dbf1f

View file

@ -615,8 +615,8 @@ multiple of 4.
result = queue.get() result = queue.get()
print 'Factorial', N, '=', result print 'Factorial', N, '=', result
A :class:`Queue` is used to communicate the input parameter *N* and A :class:`Queue` is used to communicate the result of the factorial.
the result. The :class:`Queue` object is stored in a global variable. The :class:`Queue` object is stored in a global variable.
The child process will use the value of the variable when the child 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 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 the object to communicate. (If the parent were to change the value of