summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorSteven M. Gava <elguavas@python.net>2002-02-23 23:27:08 (GMT)
committerSteven M. Gava <elguavas@python.net>2002-02-23 23:27:08 (GMT)
commit75a8e65873f8c73f27f353b30bb1de5aceb6b74c (patch)
treeefee19349a3065bcd9700e116a7e93284942adeb /Lib/idlelib
parentdc1351758672caf5a3ff3c3f57ecf6f9d16a48f2 (diff)
downloadcpython-75a8e65873f8c73f27f353b30bb1de5aceb6b74c.zip
cpython-75a8e65873f8c73f27f353b30bb1de5aceb6b74c.tar.gz
cpython-75a8e65873f8c73f27f353b30bb1de5aceb6b74c.tar.bz2
tracking changes to python idle:
python Patch #520483: Make IDLE OutputWindow handle Unicode.
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/OutputWindow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/OutputWindow.py b/Lib/idlelib/OutputWindow.py
index 12280ad..ed6774b 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()