Skip to content

Commit

Permalink
Simpler markup in Event.wait docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajdavis committed Feb 20, 2015
1 parent 502b1ad commit 82ab31c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tornado/locks.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ def clear(self):
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
Expand Down

0 comments on commit 82ab31c

Please sign in to comment.