From: A. Jesse Jiryu Davis Date: Fri, 20 Feb 2015 03:43:50 +0000 (-0500) Subject: Be explicit: Event.wait raises tornado.gen.TimeoutError. X-Git-Tag: v4.2.0b1~98^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1344%2Fhead;p=thirdparty%2Ftornado.git Be explicit: Event.wait raises tornado.gen.TimeoutError. --- 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