summaryrefslogtreecommitdiff
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
commit6a56b8ab9c433b259c6f80ee235ca94eab2d84e8 (patch)
treeb6e8a1ec291ead752161bd8083b0f80b760f4625
parenta8e59feeb5643b9643f8bd86e418c09f4b93c475 (diff)
downloadcpython-git-6a56b8ab9c433b259c6f80ee235ca94eab2d84e8.tar.gz
Fix docstring typo in concurrent.futures.Future
-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 883d993ce3..e9f65370b3 100644
--- a/Lib/concurrent/futures/_base.py
+++ b/Lib/concurrent/futures/_base.py
@@ -331,7 +331,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]