Skip to content

Commit 72d37ea

Browse files
Fix typo with AsyncClient.connect example (#1403)
1 parent d2059c1 commit 72d37ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/socketio/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ async def connect(self, url, headers={}, auth=None, transports=None,
116116
Example usage::
117117
118118
sio = socketio.AsyncClient()
119-
sio.connect('http://localhost:5000')
119+
await sio.connect('http://localhost:5000')
120120
"""
121121
if self.connected:
122122
raise exceptions.ConnectionError('Already connected')

0 commit comments

Comments
 (0)