Error in example in multiprocessing
Akshay Verma
veraks18 at gmail.com
Wed Jul 23 06:27:37 EDT 2014
Example under
17.2.1.6. Using a pool of workers
<https://docs.python.org/3.4/library/multiprocessing.html#using-a-pool-of-workers>
Has a error. As far as I understand, The input to res sleep function should
be List and not integer.
res = pool.apply_async(sleep, 10)
Let me know if I am wrong.
Best Regards,
Akshay Verma.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20140723/cb2b2d7c/attachment.html>
More information about the Python-list
mailing list