Kaydet (Commit) 6a56b8ab authored tarafından Eli Bendersky's avatar Eli Bendersky

Fix docstring typo in concurrent.futures.Future

üst a8e59fee
......@@ -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]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment