Remove unused unordered imap from LimitPool
This commit is contained in:
parent
611633fcf6
commit
d0678cd1b7
@ -103,11 +103,6 @@ class LimitingPool:
|
|||||||
self.processed -= 1
|
self.processed -= 1
|
||||||
yield obj
|
yield obj
|
||||||
|
|
||||||
def imap_unordered(self, fun, it):
|
|
||||||
for obj in self.pool.imap_unordered(fun, self._limit(it)):
|
|
||||||
self.processed -= 1
|
|
||||||
yield obj
|
|
||||||
|
|
||||||
def terminate(self):
|
def terminate(self):
|
||||||
self.pool.terminate()
|
self.pool.terminate()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user