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

Skip to content

Commit 1a7867f

Browse files
concurrent.futures: Fix typo in docstring (GH-92121)
(cherry picked from commit b11243e) Co-authored-by: Yiannis Hadjicharalambous <hadjicharalambous.yiannis@gmail.com>
1 parent 9b7cdfd commit 1a7867f

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