]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Merge bugfix:
authorGuido van Rossum <guido@python.org>
Thu, 28 Feb 2002 22:59:02 +0000 (22:59 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 28 Feb 2002 22:59:02 +0000 (22:59 +0000)
Patch #520483: Make IDLE OutputWindow handle Unicode.
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()