[Python-checkins] cpython (3.3): Fix docstring typo in concurrent.futures.Future

ezio.melotti python-checkins at python.org
Sat Jan 19 19:16:49 CET 2013


http://hg.python.org/cpython/rev/fcd1364f13b1
changeset:   81599:fcd1364f13b1
branch:      3.3
parent:      81597:4b6e6da29adf
user:        Eli Bendersky <eliben at gmail.com>
date:        Thu Jan 17 06:36:30 2013 -0800
summary:
  Fix docstring typo in concurrent.futures.Future

files:
  Lib/concurrent/futures/_base.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/concurrent/futures/_base.py b/Lib/concurrent/futures/_base.py
--- a/Lib/concurrent/futures/_base.py
+++ b/Lib/concurrent/futures/_base.py
@@ -332,7 +332,7 @@
         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]
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list