[Python-checkins] fix threading.Event.isSet() docstring (#96297)
benjaminp
webhook-mailer at python.org
Sat Aug 27 01:06:35 EDT 2022
https://github.com/python/cpython/commit/e53444051018af3351cc26c4bf1ed2d380292016
commit: e53444051018af3351cc26c4bf1ed2d380292016
branch: main
author: Daniel Giger <danielg3432 at gmail.com>
committer: benjaminp <benjamin at locrian.net>
date: 2022-08-26T22:06:26-07:00
summary:
fix threading.Event.isSet() docstring (#96297)
fixes gh-96296
files:
M Lib/threading.py
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 @@ def is_set(self):
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
More information about the Python-checkins
mailing list