Commit ed82613c authored by Terry Jan Reedy's avatar Terry Jan Reedy

Merge with 3.4

parents c1d609e8 9f5388f2
......@@ -398,7 +398,7 @@ For example::
print(res.get(timeout=1)) # prints "100"
# make worker sleep for 10 secs
res = pool.apply_async(sleep, 10)
res = pool.apply_async(sleep, [10])
print(res.get(timeout=1)) # raises multiprocessing.TimeoutError
# exiting the 'with'-block has stopped the pool
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment