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

This commit is contained in:
Fred Drake 1996-10-04 19:23:04 +00:00
parent 6f1ee20501
commit 3faf9b4d48
2 changed files with 4 additions and 4 deletions

View File

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

View File

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