Fix docstring typo in concurrent.futures.Future

This commit is contained in:
Eli Bendersky 2013-01-17 06:36:30 -08:00
parent 71027979b7
commit c9d504fc29

View file

@ -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]