From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 27 Aug 2022 05:30:41 +0000 (-0700) Subject: fix threading.Event.isSet() docstring (GH-96297) X-Git-Tag: v3.10.7~32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c216af8e8e202c72ab5ad0ac65475f0e1ca37764;p=thirdparty%2FPython%2Fcpython.git fix threading.Event.isSet() docstring (GH-96297) fixes gh-96296 (cherry picked from commit e53444051018af3351cc26c4bf1ed2d380292016) Co-authored-by: Daniel Giger --- diff --git a/Lib/threading.py b/Lib/threading.py index 668126523d50..62f49c05cdc1 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