From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 27 Aug 2022 05:32:03 +0000 (-0700) Subject: fix threading.Event.isSet() docstring (GH-96297) X-Git-Tag: v3.11.0rc2~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bc0b732eed658ee259061f126f451e31e402b5c;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 8e7cdf6f620d..4f72938551d4 100644 --- a/Lib/threading.py +++ b/Lib/threading.py @@ -572,7 +572,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