From b11243e85e020ed2f524bdd83c339faf11ef03d4 Mon Sep 17 00:00:00 2001 From: Yiannis Hadjicharalambous Date: Mon, 2 May 2022 16:05:26 +0100 Subject: concurrent.futures: Fix typo in docstring (#92121) --- Lib/concurrent/futures/_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- cgit v0.12