]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix threading.Event.isSet() docstring (GH-96297)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 27 Aug 2022 05:30:41 +0000 (22:30 -0700)
committerGitHub <noreply@github.com>
Sat, 27 Aug 2022 05:30:41 +0000 (22:30 -0700)
fixes gh-96296
(cherry picked from commit e53444051018af3351cc26c4bf1ed2d380292016)

Co-authored-by: Daniel Giger <danielg3432@gmail.com>
Lib/threading.py

index 668126523d500f56d7831fd00ef82201f03a2f73..62f49c05cdc1904ccdb34a68c21b738fb2d22b7f 100644 (file)
@@ -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