Skip to content

Commit bc72fca

Browse files
author
georg.brandl
committedJan 3, 2009
Fix indentation.
git-svn-id: http://svn.python.org/projects/python/trunk@68196 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 1925082 commit bc72fca

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed
 

‎Doc/library/multiprocessing.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,12 @@ processes:
109109
def f(q):
110110
q.put([42, None, 'hello'])
111111

112-
if __name__ == '__main__':
113-
q = Queue()
114-
p = Process(target=f, args=(q,))
115-
p.start()
116-
print q.get() # prints "[42, None, 'hello']"
117-
p.join()
112+
if __name__ == '__main__':
113+
q = Queue()
114+
p = Process(target=f, args=(q,))
115+
p.start()
116+
print q.get() # prints "[42, None, 'hello']"
117+
p.join()
118118

119119
Queues are thread and process safe.
120120

0 commit comments

Comments
 (0)