Skip to content

Commit ac50827

Browse files
concurrent.futures: Fix typo in docstring (GH-92121)
(cherry picked from commit b11243e) Co-authored-by: Yiannis Hadjicharalambous <[email protected]>
1 parent 446cc03 commit ac50827

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/concurrent/futures/_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ def running(self):
381381
return self._state == RUNNING
382382

383383
def done(self):
384-
"""Return True of the future was cancelled or finished executing."""
384+
"""Return True if the future was cancelled or finished executing."""
385385
with self._condition:
386386
return self._state in [CANCELLED, CANCELLED_AND_NOTIFIED, FINISHED]
387387

0 commit comments

Comments
 (0)