mirror of
https://github.com/python/cpython.git
synced 2025-10-19 07:53:46 +00:00
[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:
parent
bfb9639352
commit
bc3f2885f4
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue