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

Fix docstring typo in concurrent.futures.Future

üst 71027979
......@@ -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]
......
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