From db152321639debea39f88df12fd0160632bdc1b9 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sat, 27 Nov 2021 12:05:31 +1100 Subject: [PATCH] docs: Fix a few typos There are small typos in: - msgpackrpc/server.py - msgpackrpc/session.py Fixes: - Should read `useful` rather than `usaful`. - Should read `request` rather than `requets`. --- msgpackrpc/server.py | 2 +- msgpackrpc/session.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/msgpackrpc/server.py b/msgpackrpc/server.py index 947fc11..06841a6 100644 --- a/msgpackrpc/server.py +++ b/msgpackrpc/server.py @@ -9,7 +9,7 @@ class Server(session.Session): """\ - Server is usaful for MessagePack RPC Server. + Server is useful for MessagePack RPC Server. """ def __init__(self, dispatcher, loop=None, builder=tcp, pack_encoding='utf-8', unpack_encoding=None): diff --git a/msgpackrpc/session.py b/msgpackrpc/session.py index e85da0e..f140547 100644 --- a/msgpackrpc/session.py +++ b/msgpackrpc/session.py @@ -12,7 +12,7 @@ class Session(object): transport layer. self._request_table(request table) stores the relationship between messageid and - corresponding future. When the new requets are sent, the Session generates + corresponding future. When the new request are sent, the Session generates new message id and new future. Then the Session registers them to request table. When it receives the message, the Session lookups the request table and set the