mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
SF patch #768187: replace apply(f, args, kwds) with f(*args, **kwds)
This commit is contained in:
parent
a4d2b869b9
commit
931237e2e6
10 changed files with 14 additions and 16 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue