summaryrefslogtreecommitdiff
path: root/poezio/windows
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-10-25 13:11:24 +0000
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-06-11 20:49:46 +0100
commit58d66ad03bdaf21f806b1e33b0d7d1a7ccffbb15 (patch)
tree432af8f30416750f8d8cf427ac20f80489a7f062 /poezio/windows
parent41f6604ee4fac1809cee6ade71640d975600812f (diff)
downloadpoezio-58d66ad03bdaf21f806b1e33b0d7d1a7ccffbb15.tar.gz
poezio-58d66ad03bdaf21f806b1e33b0d7d1a7ccffbb15.tar.bz2
poezio-58d66ad03bdaf21f806b1e33b0d7d1a7ccffbb15.tar.xz
poezio-58d66ad03bdaf21f806b1e33b0d7d1a7ccffbb15.zip
Replace the namedtuple Message with a slotted class and merge TextBuffer.make_message in it.
Diffstat (limited to 'poezio/windows')
-rw-r--r--poezio/windows/base_wins.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/windows/base_wins.py b/poezio/windows/base_wins.py
index 7b97086c..cb20ad23 100644
--- a/poezio/windows/base_wins.py
+++ b/poezio/windows/base_wins.py
@@ -26,7 +26,7 @@ format_chars = '\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18'
# different colors allowed in the input
allowed_color_digits = ('0', '1', '2', '3', '4', '5', '6', '7')
-# msg is a reference to the corresponding Message tuple. text_start and
+# msg is a reference to the corresponding Message object. text_start and
# text_end are the position delimiting the text in this line.
class Line:
__slots__ = ('msg', 'start_pos', 'end_pos', 'prepend')