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:32:03 -07:00 committed by GitHub
parent f0469c7424
commit 0bc0b732ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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