summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python2/futures/_base.py1
-rw-r--r--python3/futures/_base.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/python2/futures/_base.py b/python2/futures/_base.py
index cad304f..e90c288 100644
--- a/python2/futures/_base.py
+++ b/python2/futures/_base.py
@@ -472,6 +472,7 @@ class FutureList(object):
states[FINISHED]))
class Executor(object):
+ """This is an abstract base class for concrete asynchronous executors."""
def run_to_futures(self, calls, timeout=None, return_when=ALL_COMPLETED):
"""Return a list of futures representing the given calls.
diff --git a/python3/futures/_base.py b/python3/futures/_base.py
index 72d76ee..01cbf64 100644
--- a/python3/futures/_base.py
+++ b/python3/futures/_base.py
@@ -403,6 +403,7 @@ class FutureList(object):
states[FINISHED]))
class Executor(object):
+ """THis is an abstract base class for conrete asynchronous executors."""
def run_to_futures(self, calls, timeout=None, return_when=ALL_COMPLETED):
"""Return a list of futures representing the given calls.