commit | c9d504fc29e886977037b855bb27b44f07f26379 | [log] [tgz] |
---|---|---|
author | Eli Bendersky <eliben@gmail.com> | Thu Jan 17 06:36:30 2013 -0800 |
committer | Eli Bendersky <eliben@gmail.com> | Thu Jan 17 06:36:30 2013 -0800 |
tree | 436aa62816e6edfc65264d0005b0f4606ee5f959 | |
parent | 71027979b7ef5d3721ab7ad171f73263e46a9dd4 [diff] |
Fix docstring typo in concurrent.futures.Future
diff --git a/Lib/concurrent/futures/_base.py b/Lib/concurrent/futures/_base.py index 1e098be..e997c02 100644 --- 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]