[3.13] gh-114827: clarify threading.Event.wait timeout behavior (GH-114834) (#140099)

Co-authored-by: Doug Hoskisson <beauxq@users.noreply.github.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
This commit is contained in:
Miss Islington (bot) 2025-10-14 16:13:31 +02:00 committed by GitHub
parent bfb9639352
commit bc3f2885f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -650,7 +650,8 @@ def wait(self, timeout=None):
(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: