Issue #7163: Propagate return value of sys.stdout.write.

Patch by Roger Serwy.
This commit is contained in:
Martin v. Löwis 2012-07-25 11:32:26 +02:00
parent c882b7c51a
commit 30d5e6c13f
3 changed files with 7 additions and 3 deletions

View file

@ -40,6 +40,7 @@ class OutputWindow(EditorWindow):
self.text.insert(mark, s, tags)
self.text.see(mark)
self.text.update()
return len(s)
def writelines(self, lines):
for line in lines: