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/PyShell.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/PyShell.py')
-rw-r--r-- | Lib/idlelib/PyShell.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index 48b912d..47028bd 100644 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -77,7 +77,7 @@ class PyShellEditorWindow(EditorWindow): def __init__(self, *args): self.breakpoints = [] - apply(EditorWindow.__init__, (self,) + args) + EditorWindow.__init__(self, *args) self.text.bind("<<set-breakpoint-here>>", self.set_breakpoint_here) self.text.bind("<<clear-breakpoint-here>>", self.clear_breakpoint_here) self.text.bind("<<open-python-shell>>", self.flist.open_shell) |