Skip to content

Commit bc3f288

Browse files
miss-islingtonbeauxqkumaraditya303
authored
[3.13] pythongh-114827: clarify threading.Event.wait timeout behavior (pythonGH-114834) (python#140099)
Co-authored-by: Doug Hoskisson <[email protected]> Co-authored-by: Kumar Aditya <[email protected]>
1 parent bfb9639 commit bc3f288

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
@@ -650,7 +650,8 @@ def wait(self, timeout=None):
650650
(or fractions thereof).
651651
652652
This method returns the internal flag on exit, so it will always return
653-
True except if a timeout is given and the operation times out.
653+
``True`` except if a timeout is given and the operation times out, when
654+
it will return ``False``.
654655
655656
"""
656657
with self._cond:

0 commit comments

Comments
 (0)