summaryrefslogtreecommitdiffstats
path: root/Lib/concurrent
diff options
context:
space:
mode:
authorYiannis Hadjicharalambous <hadjicharalambous.yiannis@gmail.com>2022-05-02 15:05:26 (GMT)
committerGitHub <noreply@github.com>2022-05-02 15:05:26 (GMT)
commitb11243e85e020ed2f524bdd83c339faf11ef03d4 (patch)
tree239d19fef9e8acf633f0d4c4efa44e141e2004dd /Lib/concurrent
parente6040604b3e12a2897274ed6c715c45eea524cb5 (diff)
downloadcpython-b11243e85e020ed2f524bdd83c339faf11ef03d4.zip
cpython-b11243e85e020ed2f524bdd83c339faf11ef03d4.tar.gz
cpython-b11243e85e020ed2f524bdd83c339faf11ef03d4.tar.bz2
concurrent.futures: Fix typo in docstring (#92121)
Diffstat (limited to 'Lib/concurrent')
-rw-r--r--Lib/concurrent/futures/_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/concurrent/futures/_base.py b/Lib/concurrent/futures/_base.py
index 706a4f2..d7e7e41 100644
--- a/Lib/concurrent/futures/_base.py
+++ b/Lib/concurrent/futures/_base.py
@@ -379,7 +379,7 @@ class Future(object):
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]