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