mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +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
|
@ -414,7 +414,7 @@ class ScrolledCanvas:
|
|||
self.frame = Frame(master)
|
||||
self.frame.rowconfigure(0, weight=1)
|
||||
self.frame.columnconfigure(0, weight=1)
|
||||
self.canvas = apply(Canvas, (self.frame,), opts)
|
||||
self.canvas = Canvas(self.frame, **opts)
|
||||
self.canvas.grid(row=0, column=0, sticky="nsew")
|
||||
self.vbar = Scrollbar(self.frame, name="vbar")
|
||||
self.vbar.grid(row=0, column=1, sticky="nse")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue