concurrent.futures: Fix typo in docstring (#92121)

This commit is contained in:
Yiannis Hadjicharalambous 2022-05-02 16:05:26 +01:00 committed by GitHub
parent e6040604b3
commit b11243e85e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -379,7 +379,7 @@ class Future(object):
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]