From: Georg Brandl Date: Sat, 3 Jan 2009 14:29:53 +0000 (+0000) Subject: Fix indentation. X-Git-Tag: v2.7a1~2411 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edd7d95581a87bc698f10aad2e70b5b0d33c01c1;p=thirdparty%2FPython%2Fcpython.git Fix indentation. --- diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index bf2d058f14cf..1d959998a48d 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.