8000 concurrent.futures: Fix typo in docstring (GH-92121) · hello-adam/cpython@7b33567 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7b33567

Browse files
miss-islingtonyiannis-had
authored andcommitted
concurrent.futures: Fix typo in docstring (pythonGH-92121)
(cherry picked from commit b11243e) Co-authored-by: Yiannis Hadjicharalambous <hadjicharalambous.yiannis@gmail.com>
1 parent b1b26b5 commit 7b33567

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)
0