From c9d504fc29e886977037b855bb27b44f07f26379 Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Thu, 17 Jan 2013 06:36:30 -0800 Subject: [PATCH] Fix docstring typo in concurrent.futures.Future --- Lib/concurrent/futures/_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/concurrent/futures/_base.py b/Lib/concurrent/futures/_base.py index 1e098be33ff..e997c02b431 100644 --- a/Lib/concurrent/futures/_base.py +++ b/Lib/concurrent/futures/_base.py @@ -332,7 +332,7 @@ def cancel(self): 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]