From c216af8e8e202c72ab5ad0ac65475f0e1ca37764 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Fri, 26 Aug 2022 22:30:41 -0700 Subject: [PATCH] fix threading.Event.isSet() docstring (GH-96297) fixes gh-96296 (cherry picked from commit e53444051018af3351cc26c4bf1ed2d380292016) Co-authored-by: Daniel Giger --- Lib/threading.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/threading.py b/Lib/threading.py index 668126523d5..62f49c05cdc 100644 --- a/Lib/threading.py +++ b/Lib/threading.py @@ -557,7 +557,7 @@ class Event: def isSet(self): """Return true if and only if the internal flag is true. - This method is deprecated, use notify_all() instead. + This method is deprecated, use is_set() instead. """ import warnings