summaryrefslogtreecommitdiffstats
path: root/Lib/concurrent
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2013-01-17 14:36:30 (GMT)
committerEli Bendersky <eliben@gmail.com>2013-01-17 14:36:30 (GMT)
commitc9d504fc29e886977037b855bb27b44f07f26379 (patch)
tree436aa62816e6edfc65264d0005b0f4606ee5f959 /Lib/concurrent
parent71027979b7ef5d3721ab7ad171f73263e46a9dd4 (diff)
downloadcpython-c9d504fc29e886977037b855bb27b44f07f26379.zip
cpython-c9d504fc29e886977037b855bb27b44f07f26379.tar.gz
cpython-c9d504fc29e886977037b855bb27b44f07f26379.tar.bz2
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 1e098be..e997c02 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]