summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-01-03 14:29:53 (GMT)
committerGeorg Brandl <georg@python.org>2009-01-03 14:29:53 (GMT)
commitedd7d95581a87bc698f10aad2e70b5b0d33c01c1 (patch)
tree31bf1cde97e7c6285fca5f0a76aa1b61f1d3837e
parentbc1309255e3ff081d6216673ea508e5d1c078953 (diff)
downloadcpython-edd7d95581a87bc698f10aad2e70b5b0d33c01c1.zip
cpython-edd7d95581a87bc698f10aad2e70b5b0d33c01c1.tar.gz
cpython-edd7d95581a87bc698f10aad2e70b5b0d33c01c1.tar.bz2
Fix indentation.
-rw-r--r--Doc/library/multiprocessing.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst
index bf2d058..1d95999 100644
--- a/Doc/library/multiprocessing.rst
+++ b/Doc/library/multiprocessing.rst
@@ -109,12 +109,12 @@ processes:
def f(q):
q.put([42, None, 'hello'])
- if __name__ == '__main__':
- q = Queue()
- p = Process(target=f, args=(q,))
- p.start()
- print q.get() # prints "[42, None, 'hello']"
- p.join()
+ if __name__ == '__main__':
+ q = Queue()
+ p = Process(target=f, args=(q,))
+ p.start()
+ print q.get() # prints "[42, None, 'hello']"
+ p.join()
Queues are thread and process safe.