From 58d66ad03bdaf21f806b1e33b0d7d1a7ccffbb15 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sun, 25 Oct 2015 13:11:24 +0000 Subject: Replace the namedtuple Message with a slotted class and merge TextBuffer.make_message in it. --- poezio/windows/base_wins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'poezio/windows/base_wins.py') 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') -- cgit v1.2.3