summaryrefslogtreecommitdiff
path: root/python3/futures/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'python3/futures/__init__.py')
-rw-r--r--python3/futures/__init__.py18
1 files changed, 12 insertions, 6 deletions
diff --git a/python3/futures/__init__.py b/python3/futures/__init__.py
index 86b67dc..8331d53 100644
--- a/python3/futures/__init__.py
+++ b/python3/futures/__init__.py
@@ -1,12 +1,18 @@
-# Copyright 2009 Brian Quinlan. All Rights Reserved. See LICENSE file.
+# Copyright 2009 Brian Quinlan. All Rights Reserved.
+# Licensed to PSF under a Contributor Agreement.
"""Execute computations asynchronously using threads or processes."""
__author__ = 'Brian Quinlan (brian@sweetapp.com)'
-from futures._base import (FIRST_COMPLETED, FIRST_EXCEPTION,
- ALL_COMPLETED, RETURN_IMMEDIATELY,
- CancelledError, TimeoutError,
- Future, FutureList)
-from futures.thread import ThreadPoolExecutor
+from futures._base import (FIRST_COMPLETED,
+ FIRST_EXCEPTION,
+ ALL_COMPLETED,
+ CancelledError,
+ TimeoutError,
+ Future,
+ Executor,
+ wait,
+ as_completed)
from futures.process import ProcessPoolExecutor
+from futures.thread import ThreadPoolExecutor