[Python-checkins] r68196 - python/trunk/Doc/library/multiprocessing.rst

georg.brandl python-checkins at python.org
Sat Jan 3 15:29:54 CET 2009


Author: georg.brandl
Date: Sat Jan  3 15:29:53 2009
New Revision: 68196

Log:
Fix indentation.


Modified:
   python/trunk/Doc/library/multiprocessing.rst

Modified: python/trunk/Doc/library/multiprocessing.rst
==============================================================================
--- python/trunk/Doc/library/multiprocessing.rst	(original)
+++ python/trunk/Doc/library/multiprocessing.rst	Sat Jan  3 15:29:53 2009
@@ -109,12 +109,12 @@
       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.
 


More information about the Python-checkins mailing list