summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Giger <danielg3432@gmail.com>2022-08-27 05:06:26 (GMT)
committerGitHub <noreply@github.com>2022-08-27 05:06:26 (GMT)
commite53444051018af3351cc26c4bf1ed2d380292016 (patch)
tree6d5adecbf73ac98b0dd12965a7990f0f9e5b2319
parent35e4da25d4c86c891a99cae4ddbb9edb7d911e9f (diff)
downloadcpython-e53444051018af3351cc26c4bf1ed2d380292016.zip
cpython-e53444051018af3351cc26c4bf1ed2d380292016.tar.gz
cpython-e53444051018af3351cc26c4bf1ed2d380292016.tar.bz2
fix threading.Event.isSet() docstring (#96297)
fixes gh-96296
-rw-r--r--Lib/threading.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/threading.py b/Lib/threading.py
index f28597c..7237a14 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