mirror of https://github.com/python/cpython
(Tkinter.py): Fixed dumb typo in Misc.tk_setPalette().
This commit is contained in:
parent
6f1ee20501
commit
3faf9b4d48
|
@ -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'):
|
||||
|
|
Loading…
Reference in New Issue