mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
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:
parent
f0469c7424
commit
0bc0b732ee
1 changed files with 1 additions and 1 deletions
|
@ -572,7 +572,7 @@ class Event:
|
||||||
def isSet(self):
|
def isSet(self):
|
||||||
"""Return true if and only if the internal flag is true.
|
"""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
|
import warnings
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue