diff options
author | Antoine Pitrou <pitrou@free.fr> | 2017-08-30 14:57:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-30 14:57:12 (GMT) |
commit | e91c2a5086c8fea64ad33d5f334da13ed0d5648a (patch) | |
tree | 9465f9ccd8016f1483ceeae3ac70153606d9a8b3 /Lib/multiprocessing | |
parent | d9a2b99ac45b5529d2a6227b0d529397be831dab (diff) | |
download | cpython-e91c2a5086c8fea64ad33d5f334da13ed0d5648a.zip cpython-e91c2a5086c8fea64ad33d5f334da13ed0d5648a.tar.gz cpython-e91c2a5086c8fea64ad33d5f334da13ed0d5648a.tar.bz2 |
[Trivial] Remove now redundant assert (#3245)
Diffstat (limited to 'Lib/multiprocessing')
-rw-r--r-- | Lib/multiprocessing/pool.py | 1 |
1 files changed, 0 insertions, 1 deletions
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 @@ class Pool(object): 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( |