diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-01-17 08:48:39 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-01-17 08:48:39 (GMT) |
commit | 70c4378dbcfdcbeef6fb3aa348f32ed862fe8eb7 (patch) | |
tree | cf47b67db3753288cfd9fa2adc45e7c5cd2f8741 /Tools/idle/OutputWindow.py | |
parent | a88854059309667092000da55d4d5a5804267e9f (diff) | |
download | cpython-70c4378dbcfdcbeef6fb3aa348f32ed862fe8eb7.zip cpython-70c4378dbcfdcbeef6fb3aa348f32ed862fe8eb7.tar.gz cpython-70c4378dbcfdcbeef6fb3aa348f32ed862fe8eb7.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Tools/idle/OutputWindow.py')
-rw-r--r-- | Tools/idle/OutputWindow.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Tools/idle/OutputWindow.py b/Tools/idle/OutputWindow.py index 0c36a88..3d97362 100644 --- a/Tools/idle/OutputWindow.py +++ b/Tools/idle/OutputWindow.py @@ -111,17 +111,17 @@ class OnDemandOutputWindow: # XXX Should use IdlePrefs.ColorPrefs "stdout": {"foreground": "blue"}, "stderr": {"foreground": "#007700"}, - } - + } + def __init__(self, flist): self.flist = flist self.owin = None - + def write(self, s, tags, mark): if not self.owin: self.setup() self.owin.write(s, tags, mark) - + def setup(self): self.owin = owin = OutputWindow(self.flist) text = owin.text |