]> granicus.if.org Git - python/commitdiff
Patch #520483: Make IDLE OutputWindow handle Unicode.
authorMartin v. Löwis <martin@v.loewis.de>
Sat, 23 Feb 2002 22:39:37 +0000 (22:39 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sat, 23 Feb 2002 22:39:37 +0000 (22:39 +0000)
2.2.1 candidate.

Tools/idle/OutputWindow.py

index 3d97362a21ffbee41b24d3d370105e00b4de3835..f429f2e8bfb61550b0420a9b1867a8fc8aba43be 100644 (file)
@@ -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()