fix threading.Event.isSet() docstring (GH-96297)

fixes gh-96296
(cherry picked from commit e534440510)

Co-authored-by: Daniel Giger <danielg3432@gmail.com>
This commit is contained in:
Miss Islington (bot) 2022-08-26 22:30:41 -07:00 committed by GitHub
parent b69ba3d723
commit c216af8e8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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