Skip to content

Commit aa2882c

Browse files
Molkreemiguelgrinberg
authored andcommitted
fix AsyncClient example and typo in Intro (miguelgrinberg#389)
* fix AsyncClient example * fix miguelgrinberg#353
1 parent d4b4034 commit aa2882c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/intro.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The example that follows shows a simple Python client:
4545
Client Features
4646
---------------
4747

48-
- Can connect to other Socket.IO complaint servers besides the one in
48+
- Can connect to other Socket.IO compliant servers besides the one in
4949
this package.
5050
- Compatible with Python 2.7 and 3.5+.
5151
- Two versions of the client, one for standard Python and another for

socketio/asyncio_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ async def connect(self, url, headers={}, transports=None,
8686
8787
Example usage::
8888
89-
sio = socketio.Client()
89+
sio = socketio.AsyncClient()
9090
sio.connect('http://localhost:5000')
9191
"""
9292
self.connection_url = url

0 commit comments

Comments
 (0)