diff --git a/Lib/concurrent/futures/_base.py b/Lib/concurrent/futures/_base.py index 706a4f2c09d..d7e7e41967c 100644 --- a/Lib/concurrent/futures/_base.py +++ b/Lib/concurrent/futures/_base.py @@ -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]