diff options
author | Yiannis Hadjicharalambous <hadjicharalambous.yiannis@gmail.com> | 2022-05-02 15:05:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-02 15:05:26 (GMT) |
commit | b11243e85e020ed2f524bdd83c339faf11ef03d4 (patch) | |
tree | 239d19fef9e8acf633f0d4c4efa44e141e2004dd /Lib/concurrent | |
parent | e6040604b3e12a2897274ed6c715c45eea524cb5 (diff) | |
download | cpython-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.py | 2 |
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] |