We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 446cc03 commit ac50827Copy full SHA for ac50827
Lib/concurrent/futures/_base.py
@@ -381,7 +381,7 @@ def running(self):
381
return self._state == RUNNING
382
383
def done(self):
384
- """Return True of the future was cancelled or finished executing."""
+ """Return True if the future was cancelled or finished executing."""
385
with self._condition:
386
return self._state in [CANCELLED, CANCELLED_AND_NOTIFIED, FINISHED]
387
0 commit comments