summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-06-03 21:21:09 (GMT)
committerGeorg Brandl <georg@python.org>2009-06-03 21:21:09 (GMT)
commit0eca77c40c2636d1f0824fc5bd37f0645e31b014 (patch)
treea366a5b08639725a032ae8fb1893fc3f6053ad2d /Doc/whatsnew
parent96b79c851af6faac8b41383ab9549aaa7b84fd04 (diff)
downloadcpython-0eca77c40c2636d1f0824fc5bd37f0645e31b014.zip
cpython-0eca77c40c2636d1f0824fc5bd37f0645e31b014.tar.gz
cpython-0eca77c40c2636d1f0824fc5bd37f0645e31b014.tar.bz2
#6174: fix indentation in code example.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/2.6.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst
index 1ffad38..fb2f6fe 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::