Skip to content

Commit fb94b2a

Browse files
committed
Minor tweaks after many days
1 parent 3e4ad84 commit fb94b2a

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

MultiTasking/MultiProcessing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def square(x):
77

88

99
if __name__ == "__main__":
10-
pool = Pool(processes=2)
10+
pool = Pool(processes=1)
1111
for i in range(100):
1212
print(square(i),)
1313
print(pool.map(square, range(100)))

0 commit comments

Comments
 (0)