Commit 3faf9b4d authored by Fred Drake's avatar Fred Drake

(Tkinter.py): Fixed dumb typo in Misc.tk_setPalette().

parent 6f1ee205
......@@ -141,8 +141,8 @@ class Misc:
def tk_bisque(self):
self.tk.call('tk_bisque')
def tk_setPalette(self, *args, **kw):
apply(self.tk.call, 'tk_setPalette',
_flatten(args) + _flatten(kw.items()))
apply(self.tk.call, ('tk_setPalette',)
+ _flatten(args) + _flatten(kw.items()))
def tk_menuBar(self, *args):
pass # obsolete since Tk 4.0
def wait_variable(self, name='PY_VAR'):
......
......@@ -141,8 +141,8 @@ class Misc:
def tk_bisque(self):
self.tk.call('tk_bisque')
def tk_setPalette(self, *args, **kw):
apply(self.tk.call, 'tk_setPalette',
_flatten(args) + _flatten(kw.items()))
apply(self.tk.call, ('tk_setPalette',)
+ _flatten(args) + _flatten(kw.items()))
def tk_menuBar(self, *args):
pass # obsolete since Tk 4.0
def wait_variable(self, name='PY_VAR'):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment