From f57674713a82b42c56b87342ad96f6554f178c47 Mon Sep 17 00:00:00 2001 From: Sandro Tosi Date: Thu, 5 Jan 2012 19:48:56 +0100 Subject: [PATCH] Issue #12042: a queue is only used to retrive results; preliminary patch by Jordan Stadler --- Doc/whatsnew/2.6.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst index be2c6ff7af1..9462ef58922 100644 --- a/Doc/whatsnew/2.6.rst +++ b/Doc/whatsnew/2.6.rst @@ -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