Browse Source

Fix docstring typo in concurrent.futures.Future

pull/2332/head
Eli Bendersky 13 years ago
parent
commit
c9d504fc29
  1. 2
      Lib/concurrent/futures/_base.py

2
Lib/concurrent/futures/_base.py

@ -332,7 +332,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]

Loading…
Cancel
Save