diff options
author | Eli Bendersky <eliben@gmail.com> | 2013-01-17 14:36:30 (GMT) |
---|---|---|
committer | Eli Bendersky <eliben@gmail.com> | 2013-01-17 14:36:30 (GMT) |
commit | 6a56b8ab9c433b259c6f80ee235ca94eab2d84e8 (patch) | |
tree | b6e8a1ec291ead752161bd8083b0f80b760f4625 /Lib/concurrent | |
parent | a8e59feeb5643b9643f8bd86e418c09f4b93c475 (diff) | |
download | cpython-6a56b8ab9c433b259c6f80ee235ca94eab2d84e8.zip cpython-6a56b8ab9c433b259c6f80ee235ca94eab2d84e8.tar.gz cpython-6a56b8ab9c433b259c6f80ee235ca94eab2d84e8.tar.bz2 |
Fix docstring typo in concurrent.futures.Future
Diffstat (limited to 'Lib/concurrent')
-rw-r--r-- | 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 index 883d993..e9f6537 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] |