commit | 6a56b8ab9c433b259c6f80ee235ca94eab2d84e8 | [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 | b6e8a1ec291ead752161bd8083b0f80b760f4625 | |
parent | a8e59feeb5643b9643f8bd86e418c09f4b93c475 [diff] |
Fix docstring typo in concurrent.futures.Future
diff --git a/Lib/concurrent/futures/_base.py b/Lib/concurrent/futures/_base.py index 883d993..e9f6537 100644 --- 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]