summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrian.quinlan <devnull@localhost>2009-08-01 12:42:06 +0000
committerbrian.quinlan <devnull@localhost>2009-08-01 12:42:06 +0000
commit5c17fb5555133ac54f8aafd4dbe018c8fbb3705d (patch)
tree5a0d9e82835ee4eb3d5416ddc29ffa82e0834530
parentbe7ec665c27064fd4de3a1bbd129a68acbc4b28d (diff)
downloadfutures-5c17fb5555133ac54f8aafd4dbe018c8fbb3705d.tar.gz
Added a single doc string
-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.