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

eli.bendersky python-checkins at python.org
Thu Jan 17 15:37:06 CET 2013


http://hg.python.org/cpython/rev/f43cc9987a1f
changeset:   81558:f43cc9987a1f
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
@@ -331,7 +331,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