]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix threading.Event.isSet() docstring (#96297)
authorDaniel Giger <danielg3432@gmail.com>
Sat, 27 Aug 2022 05:06:26 +0000 (01:06 -0400)
committerGitHub <noreply@github.com>
Sat, 27 Aug 2022 05:06:26 +0000 (22:06 -0700)
fixes gh-96296

Lib/threading.py

index f28597c993052a3767bd09d28982a8a5c593a816..7237a149ecca2e5925ae94a64ad25bea99ac8cda 100644 (file)
@@ -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