]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Simpler markup in Event.wait docstring.
authorA. Jesse Jiryu Davis <jesse@mongodb.com>
Fri, 20 Feb 2015 03:03:19 +0000 (22:03 -0500)
committerA. Jesse Jiryu Davis <jesse@mongodb.com>
Fri, 20 Feb 2015 03:03:19 +0000 (22:03 -0500)
tornado/locks.py

index 73cc9e2b8b8cfb6c379ff0e3f5f249c8e3d23592..65390cdc7ab06533b9d27b312fd73b01750c81d5 100644 (file)
@@ -116,8 +116,7 @@ class Event(object):
     def wait(self, timeout=None):
         """Block until the internal flag is true.
 
-        Returns a Future, which raises :exc:`~tornado.gen.TimeoutError` after a
-        timeout.
+        Returns a Future, which raises `.TimeoutError` after a timeout.
         """
         if timeout is None:
             return self._future