From: Eli Bendersky Date: Thu, 17 Jan 2013 14:36:30 +0000 (-0800) Subject: Fix docstring typo in concurrent.futures.Future X-Git-Tag: v3.4.0a1~1587 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6a56b8ab9c433b259c6f80ee235ca94eab2d84e8;p=thirdparty%2FPython%2Fcpython.git Fix docstring typo in concurrent.futures.Future --- diff --git a/Lib/concurrent/futures/_base.py b/Lib/concurrent/futures/_base.py index 883d993ce3d2..e9f65370b345 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]