[Python-checkins] cpython (2.7): Issue #12042: a queue is only used to retrive results; preliminary patch by

sandro.tosi python-checkins at python.org
Thu Jan 5 19:51:03 CET 2012


http://hg.python.org/cpython/rev/3353f9747a39
changeset:   74282:3353f9747a39
branch:      2.7
parent:      74279:d8102ccc5bf7
user:        Sandro Tosi <sandro.tosi at gmail.com>
date:        Thu Jan 05 19:48:30 2012 +0100
summary:
  Issue #12042: a queue is only used to retrive results; preliminary patch by Jordan Stadler

files:
  Doc/whatsnew/2.6.rst |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst
--- a/Doc/whatsnew/2.6.rst
+++ b/Doc/whatsnew/2.6.rst
@@ -611,8 +611,8 @@
         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

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


More information about the Python-checkins mailing list