]> granicus.if.org Git - python/commitdiff
Issue #12042: a queue is only used to retrive results; preliminary patch by Jordan...
authorSandro Tosi <sandro.tosi@gmail.com>
Thu, 5 Jan 2012 18:48:56 +0000 (19:48 +0100)
committerSandro Tosi <sandro.tosi@gmail.com>
Thu, 5 Jan 2012 18:48:56 +0000 (19:48 +0100)
Doc/whatsnew/2.6.rst

index be2c6ff7af178f3fd54536577525c713678d2f8b..9462ef58922e2f301827c8b93414575b3bf68a57 100644 (file)
@@ -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