summaryrefslogtreecommitdiff
path: root/Lib/concurrent
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2013-01-17 06:36:30 -0800
committerEli Bendersky <eliben@gmail.com>2013-01-17 06:36:30 -0800
commitc9d504fc29e886977037b855bb27b44f07f26379 (patch)
tree436aa62816e6edfc65264d0005b0f4606ee5f959 /Lib/concurrent
parent71027979b7ef5d3721ab7ad171f73263e46a9dd4 (diff)
downloadcpython-git-c9d504fc29e886977037b855bb27b44f07f26379.tar.gz
Fix docstring typo in concurrent.futures.Future
Diffstat (limited to 'Lib/concurrent')
-rw-r--r--Lib/concurrent/futures/_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/concurrent/futures/_base.py b/Lib/concurrent/futures/_base.py
index 1e098be33f..e997c02b43 100644
--- a/Lib/concurrent/futures/_base.py
+++ b/Lib/concurrent/futures/_base.py
@@ -332,7 +332,7 @@ class Future(object):
return True
def cancelled(self):
- """Return True if the future has cancelled."""
+ """Return True if the future was cancelled."""
with self._condition:
return self._state in [CANCELLED, CANCELLED_AND_NOTIFIED]