From 5a5d7da516e9f32f996043c6a1091a0825d1b8fc Mon Sep 17 00:00:00 2001 From: Dmitry Volodin Date: Tue, 5 Nov 2019 18:12:09 +0300 Subject: [PATCH 1/2] fix typo --- docs/client.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/client.rst b/docs/client.rst index 62d42b27..5dc8bd3c 100644 --- a/docs/client.rst +++ b/docs/client.rst @@ -197,7 +197,7 @@ that belong to a namespace can be created as methods of a subclass of sio.register_namespace(MyCustomNamespace('/chat')) -For asyncio based severs, namespaces must inherit from +For asyncio based servers, namespaces must inherit from :class:`socketio.AsyncClientNamespace`, and can define event handlers as coroutines if desired:: From 82c441c1f51a69b503e14563c1af53927158eb03 Mon Sep 17 00:00:00 2001 From: Dmitry Volodin Date: Tue, 5 Nov 2019 19:08:41 +0300 Subject: [PATCH 2/2] fix another typo --- docs/client.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/client.rst b/docs/client.rst index 5dc8bd3c..3224646d 100644 --- a/docs/client.rst +++ b/docs/client.rst @@ -131,7 +131,7 @@ When a server emits an event to a client, it can optionally provide a callback function, to be invoked as a way of acknowledgment that the server has processed the event. While this is entirely managed by the server, the client can provide a list of return values that are to be passed on to the -callback function set up by the server. This is achieves simply by returning +callback function set up by the server. This is achieved simply by returning the desired values from the handler function:: @sio.event