From: Martin v. Löwis Date: Sat, 23 Feb 2002 22:39:37 +0000 (+0000) Subject: Patch #520483: Make IDLE OutputWindow handle Unicode. X-Git-Tag: v2.3c1~6635 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc1351758672caf5a3ff3c3f57ecf6f9d16a48f2;p=python Patch #520483: Make IDLE OutputWindow handle Unicode. 2.2.1 candidate. --- diff --git a/Tools/idle/OutputWindow.py b/Tools/idle/OutputWindow.py index 3d97362a21..f429f2e8bf 100644 --- a/Tools/idle/OutputWindow.py +++ b/Tools/idle/OutputWindow.py @@ -34,7 +34,7 @@ class OutputWindow(EditorWindow): # Act as output file def write(self, s, tags=(), mark="insert"): - self.text.insert(mark, str(s), tags) + self.text.insert(mark, s, tags) self.text.see(mark) self.text.update()