From 7d73e01a566cb89ffb65b0e0fbf085f1c14d4353 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rgen=20Stenarson?= Date: Wed, 15 Feb 2012 20:47:28 +0100 Subject: [PATCH] py3 unified pyreadline/lineeditor/lineobj.py --- pyreadline/lineeditor/lineobj.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyreadline/lineeditor/lineobj.py b/pyreadline/lineeditor/lineobj.py index d100400..a8fc962 100644 --- a/pyreadline/lineeditor/lineobj.py +++ b/pyreadline/lineeditor/lineobj.py @@ -253,7 +253,7 @@ class TextLine(object): def get_line_text(self): buf = self.line_buffer - buf = map(ensure_unicode, buf) + buf = list(map(ensure_unicode, buf)) return ''.join(buf) def set_line(self, text, cursor = None):