summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/lib-tk/Tkinter.py4
-rwxr-xr-xLib/tkinter/Tkinter.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py
index f7aafb0..cd341dd 100644
--- a/Lib/lib-tk/Tkinter.py
+++ b/Lib/lib-tk/Tkinter.py
@@ -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'):
diff --git a/Lib/tkinter/Tkinter.py b/Lib/tkinter/Tkinter.py
index f7aafb0..cd341dd 100755
--- a/Lib/tkinter/Tkinter.py
+++ b/Lib/tkinter/Tkinter.py
@@ -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'):