mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +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
b69ba3d723
commit
c216af8e8e
1 changed files with 1 additions and 1 deletions
|
|
@ -557,7 +557,7 @@ def is_set(self):
|
||||||
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