[Python-checkins] r79901 - python/branches/py3k/Doc/library/multiprocessing.rst

georg.brandl python-checkins at python.org
Thu Apr 8 08:33:16 CEST 2010


Author: georg.brandl
Date: Thu Apr  8 08:33:16 2010
New Revision: 79901

Log:
Fix indentation.

Modified:
   python/branches/py3k/Doc/library/multiprocessing.rst

Modified: python/branches/py3k/Doc/library/multiprocessing.rst
==============================================================================
--- python/branches/py3k/Doc/library/multiprocessing.rst	(original)
+++ python/branches/py3k/Doc/library/multiprocessing.rst	Thu Apr  8 08:33:16 2010
@@ -61,15 +61,15 @@
 follows the API of :class:`threading.Thread`.  A trivial example of a
 multiprocess program is ::
 
-    from multiprocessing import Process
+   from multiprocessing import Process
 
    def f(name):
        print('hello', name)
 
-    if __name__ == '__main__':
-        p = Process(target=f, args=('bob',))
-        p.start()
-        p.join()
+   if __name__ == '__main__':
+       p = Process(target=f, args=('bob',))
+       p.start()
+       p.join()
 
 To show the individual process IDs involved, here is an expanded example::
 


More information about the Python-checkins mailing list