summaryrefslogtreecommitdiff
path: root/Python/compile.c
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-01-21 23:59:49 +0200
committerBerker Peksag <berker.peksag@gmail.com>2016-01-21 23:59:49 +0200
commit7405c16533f30acf6c0b1f2035898666871449c3 (patch)
tree306048441e425d36a95605c77fe8062bb25fbb39 /Python/compile.c
parent1538b3d3dfff284c8976f19c5e475b99717bacd8 (diff)
downloadcpython-git-7405c16533f30acf6c0b1f2035898666871449c3.tar.gz
Issue #18620: Improve Pool examples in multiprocessing documentation
A single call to Pool.apply_async() will create only one process. To use all of the pool's processes, it should be invoked multiple times: with Pool(processes=4) as pool: results = [pool.apply_async(func, ()) for i in range(4)] Patch by Davin Potts.
Diffstat (limited to 'Python/compile.c')
0 files changed, 0 insertions, 0 deletions