Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dc13517

Browse files
committed
Patch #520483: Make IDLE OutputWindow handle Unicode.
2.2.1 candidate.
1 parent 0ac16ec commit dc13517

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tools/idle/OutputWindow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def maybesave(self):
3434
# Act as output file
3535

3636
def write(self, s, tags=(), mark="insert"):
37-
self.text.insert(mark, str(s), tags)
37+
self.text.insert(mark, s, tags)
3838
self.text.see(mark)
3939
self.text.update()
4040

0 commit comments

Comments
 (0)