summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-02-23 22:39:37 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-02-23 22:39:37 (GMT)
commitdc1351758672caf5a3ff3c3f57ecf6f9d16a48f2 (patch)
tree86e034eb80d095522894567fc691cd916ed8be9d /Tools
parent0ac16ec1493e76721d37d537a132195fdb2cbe4f (diff)
downloadcpython-dc1351758672caf5a3ff3c3f57ecf6f9d16a48f2.zip
cpython-dc1351758672caf5a3ff3c3f57ecf6f9d16a48f2.tar.gz
cpython-dc1351758672caf5a3ff3c3f57ecf6f9d16a48f2.tar.bz2
Patch #520483: Make IDLE OutputWindow handle Unicode.
2.2.1 candidate.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/idle/OutputWindow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/idle/OutputWindow.py b/Tools/idle/OutputWindow.py
index 3d97362..f429f2e 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()