From 892f0aceffc5602e62f3201676a458212dd067fd Mon Sep 17 00:00:00 2001 From: "A. Jesse Jiryu Davis" Date: Thu, 19 Feb 2015 22:43:50 -0500 Subject: [PATCH] Be explicit: Event.wait raises tornado.gen.TimeoutError. --- tornado/locks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tornado/locks.py b/tornado/locks.py index 65390cdc7..c135a884b 100644 --- a/tornado/locks.py +++ b/tornado/locks.py @@ -116,7 +116,8 @@ class Event(object): def wait(self, timeout=None): """Block until the internal flag is true. - Returns a Future, which raises `.TimeoutError` after a timeout. + Returns a Future, which raises `tornado.gen.TimeoutError` after a + timeout. """ if timeout is None: return self._future -- 2.47.2