diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-05-02 09:06:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-02 09:06:43 -0700 |
commit | ac508276dc8c9e1ac0731ec7fce3aae3a378ffd1 (patch) | |
tree | 2262c08ad034314c3ee05df49551188af5ea4ff5 | |
parent | 446cc037304e55e94c2e7492533f7b396c9c0e35 (diff) | |
download | cpython-git-ac508276dc8c9e1ac0731ec7fce3aae3a378ffd1.tar.gz |
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 5c00f2edbe..cf119ac643 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] |