Skip to content

Commit 6a56b8a

Browse files
committed
Fix docstring typo in concurrent.futures.Future
1 parent a8e59fe commit 6a56b8a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/concurrent/futures/_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def cancel(self):
331331
return True
332332

333333
def cancelled(self):
334-
"""Return True if the future has cancelled."""
334+
"""Return True if the future was cancelled."""
335335
with self._condition:
336336
return self._state in [CANCELLED, CANCELLED_AND_NOTIFIED]
337337

0 commit comments

Comments
 (0)