mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
[Trivial] Remove now redundant assert (#3245)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user