diff options
Diffstat (limited to 'Lib/idlelib/OutputWindow.py')
-rw-r--r-- | Lib/idlelib/OutputWindow.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/OutputWindow.py b/Lib/idlelib/OutputWindow.py index 99e47e486b..787e9b0bba 100644 --- a/Lib/idlelib/OutputWindow.py +++ b/Lib/idlelib/OutputWindow.py @@ -13,7 +13,7 @@ class OutputWindow(EditorWindow): """ def __init__(self, *args): - apply(EditorWindow.__init__, (self,) + args) + EditorWindow.__init__(self, *args) self.text.bind("<<goto-file-line>>", self.goto_file_line) # Customize EditorWindow @@ -136,7 +136,7 @@ class OnDemandOutputWindow: text = owin.text for tag, cnf in self.tagdefs.items(): if cnf: - apply(text.tag_configure, (tag,), cnf) + text.tag_configure(tag, **cnf) text.tag_raise('sel') self.write = self.owin.write |