Skip to content

Commit

Permalink
[Trivial] Remove now redundant assert (#3245)
Browse files Browse the repository at this point in the history
  • Loading branch information
pitrou committed Aug 30, 2017
1 parent d9a2b99 commit e91c2a5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Lib/multiprocessing/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,6 @@ def imap(self, func, iterable, chunksize=1):
raise ValueError(
"Chunksize must be 1+, not {0:n}".format(
chunksize))
assert chunksize > 1
task_batches = Pool._get_tasks(func, iterable, chunksize)
result = IMapIterator(self._cache)
self._taskqueue.put(
Expand Down

0 comments on commit e91c2a5

Please sign in to comment.