diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-05-02 16:25:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-02 16:25:45 (GMT) |
commit | 1a7867fc0c3913828157e23623381baa7625b626 (patch) | |
tree | af55a5a412035bbd648155ed212c772ce7996981 | |
parent | 9b7cdfdf357fa819fd47f0ebe1c0e2010a5d4e31 (diff) | |
download | cpython-1a7867fc0c3913828157e23623381baa7625b626.zip cpython-1a7867fc0c3913828157e23623381baa7625b626.tar.gz cpython-1a7867fc0c3913828157e23623381baa7625b626.tar.bz2 |
concurrent.futures: Fix typo in docstring (GH-92121)
(cherry picked from commit b11243e85e020ed2f524bdd83c339faf11ef03d4)
Co-authored-by: Yiannis Hadjicharalambous <hadjicharalambous.yiannis@gmail.com>
-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 5c00f2e..cf119ac 100644 --- a/Lib/concurrent/futures/_base.py +++ b/Lib/concurrent/futures/_base.py @@ -381,7 +381,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] |