From: Steven M. Gava Date: Sat, 23 Feb 2002 23:27:08 +0000 (+0000) Subject: tracking changes to python idle: X-Git-Tag: v2.3c1~6634 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=75a8e65873f8c73f27f353b30bb1de5aceb6b74c;p=python tracking changes to python idle: python Patch #520483: Make IDLE OutputWindow handle Unicode. --- diff --git a/Lib/idlelib/OutputWindow.py b/Lib/idlelib/OutputWindow.py index 12280ad4d7..ed6774b875 100644 --- a/Lib/idlelib/OutputWindow.py +++ b/Lib/idlelib/OutputWindow.py @@ -134,7 +134,7 @@ class OutputWindow(EditorWindow): def write(self, s, tags=(), mark="iomark"): self.text.mark_gravity(mark, RIGHT) - self.text.insert(mark, str(s), tags) + self.text.insert(mark, s, tags) self.text.mark_gravity(mark, LEFT) self.text.see(mark) self.text.update()