]> granicus.if.org Git - python/commitdiff
Fix indentation.
authorGeorg Brandl <georg@python.org>
Thu, 8 Apr 2010 06:33:16 +0000 (06:33 +0000)
committerGeorg Brandl <georg@python.org>
Thu, 8 Apr 2010 06:33:16 +0000 (06:33 +0000)
Doc/library/multiprocessing.rst

index 48b1ccc875d6d9512d66031b888dd8431747d9df..f240648f408fb04b984760c23c5d801ad5970519 100644 (file)
@@ -61,15 +61,15 @@ object and then calling its :meth:`~Process.start` method.  :class:`Process`
 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::