mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
concurrent.futures: Fix typo in docstring (#92121)
This commit is contained in:
parent
e6040604b3
commit
b11243e85e
1 changed files with 1 additions and 1 deletions
|
|
@ -379,7 +379,7 @@ def running(self):
|
|||
return self._state == RUNNING
|
||||
|
||||
def done(self):
|
||||
"""Return True of the future was cancelled or finished executing."""
|
||||
"""Return True if the future was cancelled or finished executing."""
|
||||
with self._condition:
|
||||
return self._state in [CANCELLED, CANCELLED_AND_NOTIFIED, FINISHED]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue