Skip to content

Commit

Permalink
Fix typo with AsyncClient.connect example (#1403)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroIntensity authored Nov 9, 2024
1 parent d2059c1 commit 72d37ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/socketio/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ async def connect(self, url, headers={}, auth=None, transports=None,
Example usage::
sio = socketio.AsyncClient()
sio.connect('http://localhost:5000')
await sio.connect('http://localhost:5000')
"""
if self.connected:
raise exceptions.ConnectionError('Already connected')
Expand Down

0 comments on commit 72d37ea

Please sign in to comment.