From bc3f2885f45639abf12851d537689ea2d9893f1b Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Tue, 14 Oct 2025 16:13:31 +0200 Subject: [PATCH] [3.13] gh-114827: clarify `threading.Event.wait` timeout behavior (GH-114834) (#140099) Co-authored-by: Doug Hoskisson Co-authored-by: Kumar Aditya --- Lib/threading.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lib/threading.py b/Lib/threading.py index acf5090716c9..15bf786a6a90 100644 --- a/Lib/threading.py +++ b/Lib/threading.py @@ -650,7 +650,8 @@ class Event: (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: -- 2.47.3