[Python-checkins] cpython (3.2): 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:04 CET 2012


http://hg.python.org/cpython/rev/0d4bb1356f39
changeset:   74283:0d4bb1356f39
branch:      3.2
parent:      74280:b326d90ce9c9
user:        Sandro Tosi <sandro.tosi at gmail.com>
date:        Thu Jan 05 19:48:56 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
@@ -615,8 +615,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