summaryrefslogtreecommitdiffstats
path: root/Doc/library/multiprocessing.rst
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-07-24 00:30:41 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2014-07-24 00:30:41 (GMT)
commited82613ca03435fc6af8704f518da09303e44015 (patch)
tree21227be638b66c6ff7d04f62ff61f34cedb86f51 /Doc/library/multiprocessing.rst
parentc1d609e8c8be07ffeedc4ed88a6b80148443c5f3 (diff)
parent9f5388f24fd25c4788fb68251737b4cc238c8960 (diff)
downloadcpython-ed82613ca03435fc6af8704f518da09303e44015.zip
cpython-ed82613ca03435fc6af8704f518da09303e44015.tar.gz
cpython-ed82613ca03435fc6af8704f518da09303e44015.tar.bz2
Merge with 3.4
Diffstat (limited to 'Doc/library/multiprocessing.rst')
-rw-r--r--Doc/library/multiprocessing.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst
index 243b101..5726665 100644
--- a/Doc/library/multiprocessing.rst
+++ b/Doc/library/multiprocessing.rst
@@ -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