From 7922364516b75a352941a642624edcf6ace092cc Mon Sep 17 00:00:00 2001 From: Antoine Millet Date: Tue, 4 Oct 2011 18:25:24 +0200 Subject: [PATCH] Added documentation for connection and label properties in Protocol class --- sjrpc/core/protocols/__init__.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sjrpc/core/protocols/__init__.py b/sjrpc/core/protocols/__init__.py index 27d9f30..25a1bdc 100644 --- a/sjrpc/core/protocols/__init__.py +++ b/sjrpc/core/protocols/__init__.py @@ -34,10 +34,18 @@ class Protocol(object): @property def connection(self): + ''' + The :class:`~sjrpc.core.RpcConnection` instance which handle + this protocol. + ''' return self._connection @property def label(self): + ''' + The label binded to this protocol in the + :class:`~sjrpc.core.RpcConnection` instance. + ''' return self._label def send(self, payload): -- GitLab