From 7c2ccbbaa13299e5858cfc066c63add22fa1a016 Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Thu, 7 Jul 2011 23:55:54 +0200 Subject: [PATCH] Document attributes correctly --- mopidy/utils/network.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mopidy/utils/network.py b/mopidy/utils/network.py index 1de582b8..1bee3ba1 100644 --- a/mopidy/utils/network.py +++ b/mopidy/utils/network.py @@ -106,12 +106,12 @@ class LineProtocol(ThreadingActor): Takes care of receiving new data from listener's client code, decoding and then splitting data along line boundaries. - - Attributes ``terminator``and ``encoding`` can be set in case subclasses - want to split by another terminator or use another encoding. """ + #: What terminator to use to split lines. terminator = '\n' + + #: What encoding to expect incomming data to be in, can be :class:`None`. encoding = 'utf-8' def __init__(self, sock, addr):