Fix typo.
This commit is contained in:
parent
b053f991b4
commit
5ecd7452ec
|
@ -149,7 +149,7 @@ class Pool(object):
|
||||||
|
|
||||||
def imap(self, func, iterable, chunksize=1):
|
def imap(self, func, iterable, chunksize=1):
|
||||||
'''
|
'''
|
||||||
Equivalent of `itertool.imap()` -- can be MUCH slower than `Pool.map()`
|
Equivalent of `itertools.imap()` -- can be MUCH slower than `Pool.map()`
|
||||||
'''
|
'''
|
||||||
assert self._state == RUN
|
assert self._state == RUN
|
||||||
if chunksize == 1:
|
if chunksize == 1:
|
||||||
|
|
Loading…
Reference in New Issue