Fix typo in websocket_connect docs.

Fixes #1522.
This commit is contained in:
Ben Darnell 2015-09-27 12:33:30 -04:00
parent 7e625d0eee
commit 901fc49120
1 changed files with 1 additions and 1 deletions

View File

@ -1024,7 +1024,7 @@ def websocket_connect(url, io_loop=None, callback=None, connect_timeout=None,
style, the application typically calls
`~.WebSocketClientConnection.read_message` in a loop::
conn = yield websocket_connection(loop)
conn = yield websocket_connect(url)
while True:
msg = yield conn.read_message()
if msg is None: break