diff options
author | Fred Drake <fdrake@acm.org> | 1996-10-04 19:23:04 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1996-10-04 19:23:04 (GMT) |
commit | 3faf9b4d4808d831351a8fb65f7e69f09d9db452 (patch) | |
tree | 4546fa3fc3e93883b71ea29e1dd7c379866a8aab /Lib/lib-tk/Tkinter.py | |
parent | 6f1ee20501ff95077ee98f38235a284c148cbb90 (diff) | |
download | cpython-3faf9b4d4808d831351a8fb65f7e69f09d9db452.zip cpython-3faf9b4d4808d831351a8fb65f7e69f09d9db452.tar.gz cpython-3faf9b4d4808d831351a8fb65f7e69f09d9db452.tar.bz2 |
(Tkinter.py): Fixed dumb typo in Misc.tk_setPalette().
Diffstat (limited to 'Lib/lib-tk/Tkinter.py')
-rw-r--r-- | Lib/lib-tk/Tkinter.py | 4 |
1 files changed, 2 insertions, 2 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'): |