From: Georg Brandl Date: Wed, 3 Jun 2009 21:21:09 +0000 (+0000) Subject: #6174: fix indentation in code example. X-Git-Tag: v2.7a1~1036 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0eca77c40c2636d1f0824fc5bd37f0645e31b014;p=thirdparty%2FPython%2Fcpython.git #6174: fix indentation in code example. --- diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst index 1ffad387f8d9..fb2f6fee89dc 100644 --- a/Doc/whatsnew/2.6.rst +++ b/Doc/whatsnew/2.6.rst @@ -678,15 +678,15 @@ and :meth:`Semaphore` to create shared locks.) for N in range(1, 1000, 10): p.apply_async(factorial, (N, d)) - # Mark pool as closed -- no more tasks can be added. - p.close() + # Mark pool as closed -- no more tasks can be added. + p.close() - # Wait for tasks to exit - p.join() + # Wait for tasks to exit + p.join() - # Output results - for k, v in sorted(d.items()): - print k, v + # Output results + for k, v in sorted(d.items()): + print k, v This will produce the output::