SF patch #768187: replace apply(f, args, kwds) with f(*args, **kwds)

This commit is contained in:
Raymond Hettinger 2003-07-09 18:48:24 +00:00
parent a4d2b869b9
commit 931237e2e6
10 changed files with 14 additions and 16 deletions

View file

@ -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)