From aa2882cb3e2f3cda3a9d8c94b1c5db1bd0dbbf99 Mon Sep 17 00:00:00 2001 From: Dmitry Volodin Date: Fri, 29 Nov 2019 02:35:51 +0300 Subject: [PATCH] fix AsyncClient example and typo in Intro (#389) * fix AsyncClient example * fix miguelgrinberg/python-socketio#353 --- docs/intro.rst | 2 +- socketio/asyncio_client.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/intro.rst b/docs/intro.rst index eedb112..7f58c01 100644 --- a/docs/intro.rst +++ b/docs/intro.rst @@ -45,7 +45,7 @@ The example that follows shows a simple Python client: Client Features --------------- -- Can connect to other Socket.IO complaint servers besides the one in +- Can connect to other Socket.IO compliant servers besides the one in this package. - Compatible with Python 2.7 and 3.5+. - Two versions of the client, one for standard Python and another for diff --git a/socketio/asyncio_client.py b/socketio/asyncio_client.py index 2b10434..c2a2e09 100644 --- a/socketio/asyncio_client.py +++ b/socketio/asyncio_client.py @@ -86,7 +86,7 @@ class AsyncClient(client.Client): Example usage:: - sio = socketio.Client() + sio = socketio.AsyncClient() sio.connect('http://localhost:5000') """ self.connection_url = url