diff --git a/more_executors/__init__.py b/more_executors/__init__.py index c93439d3..2d87b62f 100644 --- a/more_executors/__init__.py +++ b/more_executors/__init__.py @@ -13,6 +13,7 @@ This documentation was built from an unknown revision. """ + from ._impl.executors import Executors from . import futures from . import asyncio diff --git a/more_executors/_impl/futures/zip.py b/more_executors/_impl/futures/zip.py index a4e35711..320163ec 100644 --- a/more_executors/_impl/futures/zip.py +++ b/more_executors/_impl/futures/zip.py @@ -41,7 +41,7 @@ def __init__(self, fs): self.lock = Lock() self.count_remaining = len(self.fs) - for (idx, future) in enumerate(self.fs): + for idx, future in enumerate(self.fs): chain_cancel(self.out, future) future.add_done_callback(weak_callback(partial(self.handle_done, idx)))