Thanks to visit codestin.com Credit goes to github.com
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 e604060 commit b11243eCopy full SHA for b11243e
1 file changed
Lib/concurrent/futures/_base.py
@@ -379,7 +379,7 @@ def running(self):
379
return self._state == RUNNING
380
381
def done(self):
382
- """Return True of the future was cancelled or finished executing."""
+ """Return True if the future was cancelled or finished executing."""
383
with self._condition:
384
return self._state in [CANCELLED, CANCELLED_AND_NOTIFIED, FINISHED]
385
0 commit comments