mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-06 08:00:18 +07:00
First iteration. Minor errors fixed. Merge-request: IJ-MR-154104 Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com> GitOrigin-RevId: c4410fdf09edef7c0974ecb6bb15dbd465defbca
12 lines
193 B
Python
12 lines
193 B
Python
from __future__ import with_statement
|
|
import multiprocessing
|
|
|
|
|
|
def f(x):
|
|
return x*x # breakpoint
|
|
|
|
|
|
if __name__ == '__main__':
|
|
p = multiprocessing.Pool()
|
|
print(p.map(f, [1, 2, 3]))
|