commit | e91c2a5086c8fea64ad33d5f334da13ed0d5648a | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <pitrou@free.fr> | Wed Aug 30 16:57:12 2017 +0200 |
committer | GitHub <noreply@github.com> | Wed Aug 30 16:57:12 2017 +0200 |
tree | 9465f9ccd8016f1483ceeae3ac70153606d9a8b3 | |
parent | d9a2b99ac45b5529d2a6227b0d529397be831dab [diff] |
[Trivial] Remove now redundant assert (#3245)
diff --git a/Lib/multiprocessing/pool.py b/Lib/multiprocessing/pool.py index e457f0a..b1ee725 100644 --- a/Lib/multiprocessing/pool.py +++ b/Lib/multiprocessing/pool.py
@@ -313,7 +313,6 @@ 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(