mirror of
https://github.com/python/cpython.git
synced 2025-11-24 12:20:42 +00:00
[3.14] gh-114827: clarify threading.Event.wait timeout behavior (GH-114834) (#140100)
Co-authored-by: Doug Hoskisson <beauxq@users.noreply.github.com> Co-authored-by: Kumar Aditya <kumaraditya@python.org>
This commit is contained in:
parent
1c55b9163b
commit
525f7c23b9
1 changed files with 2 additions and 1 deletions
|
|
@ -660,7 +660,8 @@ class Event:
|
|||
(or fractions thereof).
|
||||
|
||||
This method returns the internal flag on exit, so it will always return
|
||||
True except if a timeout is given and the operation times out.
|
||||
``True`` except if a timeout is given and the operation times out, when
|
||||
it will return ``False``.
|
||||
|
||||
"""
|
||||
with self._cond:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue