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
commitad7908bf3c56b235ea6398a157ca0c142cf9e204 (patch)
treea254959e01b394c176f9c0d922a9d77ad9c6e621 /Lib/concurrent
parentf86c9ec3544494c2374ff5d8a29d64caf818fd9a (diff)
downloadcpython-ad7908bf3c56b235ea6398a157ca0c142cf9e204.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]