Skip to content

Commit b11243e

Browse files
authored
concurrent.futures: Fix typo in docstring (#92121)
1 parent e604060 commit b11243e

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
@@ -379,7 +379,7 @@ def running(self):
379379
return self._state == RUNNING
380380

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

0 commit comments

Comments
 (0)