From: Daniel Giger Date: Sat, 27 Aug 2022 05:06:26 +0000 (-0400) Subject: fix threading.Event.isSet() docstring (#96297) X-Git-Tag: v3.12.0a1~548 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e53444051018af3351cc26c4bf1ed2d380292016;p=thirdparty%2FPython%2Fcpython.git fix threading.Event.isSet() docstring (#96297) fixes gh-96296 --- diff --git a/Lib/threading.py b/Lib/threading.py index f28597c99305..7237a149ecca 100644 --- a/Lib/threading.py +++ b/Lib/threading.py @@ -589,7 +589,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