Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #75083 > unrolled thread
| Started by | Akshay Verma <veraks18@gmail.com> |
|---|---|
| First post | 2014-07-23 15:57 +0530 |
| Last post | 2014-07-23 15:57 +0530 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
Error in example in multiprocessing Akshay Verma <veraks18@gmail.com> - 2014-07-23 15:57 +0530
| From | Akshay Verma <veraks18@gmail.com> |
|---|---|
| Date | 2014-07-23 15:57 +0530 |
| Subject | Error in example in multiprocessing |
| Message-ID | <mailman.12238.1406119862.18130.python-list@python.org> |
[Multipart message — attachments visible in raw view] — view raw
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.
Back to top | Article view | comp.lang.python
csiph-web