Skip to content

Commit c372ea4

Browse files
committed
gh-114827: clarify threading.Event.wait timeout behavior
1 parent 7b9d406 commit c372ea4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/threading.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,8 @@ def wait(self, timeout=None):
647647
(or fractions thereof).
648648
649649
This method returns the internal flag on exit, so it will always return
650-
True except if a timeout is given and the operation times out.
650+
True except if a timeout is given and the operation times out, when it
651+
will return `False`.
651652
652653
"""
653654
with self._cond:

0 commit comments

Comments
 (0)