mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #7163: Propagate return value of sys.stdout.write.
Patch by Roger Serwy.
This commit is contained in:
parent
c882b7c51a
commit
30d5e6c13f
3 changed files with 7 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue