[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:
Miss Islington (bot) 2025-10-14 16:13:33 +02:00 committed by GitHub
parent 1c55b9163b
commit 525f7c23b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -660,7 +660,8 @@ class Event:
(or fractions thereof). (or fractions thereof).
This method returns the internal flag on exit, so it will always return 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: with self._cond: