summaryrefslogtreecommitdiff
path: root/smart_future.py
diff options
context:
space:
mode:
Diffstat (limited to 'smart_future.py')
-rw-r--r--smart_future.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/smart_future.py b/smart_future.py
index f1ffee1..e4832d4 100644
--- a/smart_future.py
+++ b/smart_future.py
@@ -12,7 +12,7 @@ import id_generator
T = TypeVar('T')
-def wait_many(futures: List[SmartFuture], *, callback: Callable = None):
+def wait_any(futures: List[SmartFuture], *, callback: Callable = None):
finished: Mapping[int, bool] = {}
x = 0
while True: