mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
(Tkinter.py): Fixed dumb typo in Misc.tk_setPalette().
This commit is contained in:
parent
6f1ee20501
commit
3faf9b4d48
2 changed files with 4 additions and 4 deletions
|
@ -141,8 +141,8 @@ class Misc:
|
||||||
def tk_bisque(self):
|
def tk_bisque(self):
|
||||||
self.tk.call('tk_bisque')
|
self.tk.call('tk_bisque')
|
||||||
def tk_setPalette(self, *args, **kw):
|
def tk_setPalette(self, *args, **kw):
|
||||||
apply(self.tk.call, 'tk_setPalette',
|
apply(self.tk.call, ('tk_setPalette',)
|
||||||
_flatten(args) + _flatten(kw.items()))
|
+ _flatten(args) + _flatten(kw.items()))
|
||||||
def tk_menuBar(self, *args):
|
def tk_menuBar(self, *args):
|
||||||
pass # obsolete since Tk 4.0
|
pass # obsolete since Tk 4.0
|
||||||
def wait_variable(self, name='PY_VAR'):
|
def wait_variable(self, name='PY_VAR'):
|
||||||
|
|
|
@ -141,8 +141,8 @@ class Misc:
|
||||||
def tk_bisque(self):
|
def tk_bisque(self):
|
||||||
self.tk.call('tk_bisque')
|
self.tk.call('tk_bisque')
|
||||||
def tk_setPalette(self, *args, **kw):
|
def tk_setPalette(self, *args, **kw):
|
||||||
apply(self.tk.call, 'tk_setPalette',
|
apply(self.tk.call, ('tk_setPalette',)
|
||||||
_flatten(args) + _flatten(kw.items()))
|
+ _flatten(args) + _flatten(kw.items()))
|
||||||
def tk_menuBar(self, *args):
|
def tk_menuBar(self, *args):
|
||||||
pass # obsolete since Tk 4.0
|
pass # obsolete since Tk 4.0
|
||||||
def wait_variable(self, name='PY_VAR'):
|
def wait_variable(self, name='PY_VAR'):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue