From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 2 May 2022 16:25:45 +0000 (-0700) Subject: concurrent.futures: Fix typo in docstring (GH-92121) X-Git-Tag: v3.9.13~55 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1a7867fc0c3913828157e23623381baa7625b626;p=thirdparty%2FPython%2Fcpython.git concurrent.futures: Fix typo in docstring (GH-92121) (cherry picked from commit b11243e85e020ed2f524bdd83c339faf11ef03d4) Co-authored-by: Yiannis Hadjicharalambous --- diff --git a/Lib/concurrent/futures/_base.py b/Lib/concurrent/futures/_base.py index 5c00f2edbe54..cf119ac6437a 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]