diff options
author | Raymond Hettinger <python@rcn.com> | 2003-07-09 18:48:24 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-07-09 18:48:24 (GMT) |
commit | 931237e2e66975c54e2ac6c5e503ee2992a22bcf (patch) | |
tree | e5b750f23a7b670cbcc58930c70e7324725afd2f /Lib/idlelib/OutputWindow.py | |
parent | a4d2b869b9d582abcad178d930374a26a6e743fb (diff) | |
download | cpython-931237e2e66975c54e2ac6c5e503ee2992a22bcf.zip cpython-931237e2e66975c54e2ac6c5e503ee2992a22bcf.tar.gz cpython-931237e2e66975c54e2ac6c5e503ee2992a22bcf.tar.bz2 |
SF patch #768187: replace apply(f, args, kwds) with f(*args, **kwds)
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 99e47e4..787e9b0 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 |