gh-114827: clarify threading.Event.wait timeout behavior (#114834)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
This commit is contained in:
Doug Hoskisson
2025-10-14 01:34:53 -07:00
committed by GitHub
parent e6102f0755
commit 13e9c2d18d

View File

@@ -653,7 +653,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: