summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-08-27 05:32:03 (GMT)
committerGitHub <noreply@github.com>2022-08-27 05:32:03 (GMT)
commit0bc0b732eed658ee259061f126f451e31e402b5c (patch)
tree3e1cd06317b0b56660b1313eeb2e3186705057c2
parentf0469c74243f1ad1b5c8d79647660d497ee29ffe (diff)
downloadcpython-0bc0b732eed658ee259061f126f451e31e402b5c.zip
cpython-0bc0b732eed658ee259061f126f451e31e402b5c.tar.gz
cpython-0bc0b732eed658ee259061f126f451e31e402b5c.tar.bz2
fix threading.Event.isSet() docstring (GH-96297)
fixes gh-96296 (cherry picked from commit e53444051018af3351cc26c4bf1ed2d380292016) Co-authored-by: Daniel Giger <danielg3432@gmail.com>
-rw-r--r--Lib/threading.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/threading.py b/Lib/threading.py
index 8e7cdf6..4f72938 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