mirror of
https://github.com/python/cpython.git
synced 2025-07-16 07:45:20 +00:00
tracking changes to python idle:
python Patch #520483: Make IDLE OutputWindow handle Unicode.
This commit is contained in:
parent
dc13517586
commit
75a8e65873
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue