summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-09-10 12:39:26 (GMT)
committerGuido van Rossum <guido@python.org>1996-09-10 12:39:26 (GMT)
commit688bbfc217ca389b66be88d023e93fd617923b73 (patch)
tree25f865d2cc31393968ea8a40df66efa81f472af9 /Lib/lib-tk
parent8535b29f39a2ac7b45e6baaeeb300e5222dca05d (diff)
downloadcpython-688bbfc217ca389b66be88d023e93fd617923b73.zip
cpython-688bbfc217ca389b66be88d023e93fd617923b73.tar.gz
cpython-688bbfc217ca389b66be88d023e93fd617923b73.tar.bz2
simpler version of the previous fix
Diffstat (limited to 'Lib/lib-tk')
-rw-r--r--Lib/lib-tk/Tkinter.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py
index 0892a69..edda34a 100644
--- a/Lib/lib-tk/Tkinter.py
+++ b/Lib/lib-tk/Tkinter.py
@@ -139,8 +139,7 @@ class Misc:
return self.tk.getboolean(self.tk.call(
'set', 'tk_strictMotif', boolean))
def tk_menuBar(self, *args):
- if TkVersion < 4.1:
- apply(self.tk.call, ('tk_menuBar', self._w) + args)
+ pass # obsolete since Tk 4.0
def wait_variable(self, name='PY_VAR'):
self.tk.call('tkwait', 'variable', name)
waitvar = wait_variable # XXX b/w compat
@@ -1218,8 +1217,7 @@ class Menu(Widget):
def __init__(self, master=None, cnf={}, **kw):
Widget.__init__(self, master, 'menu', cnf, kw)
def tk_bindForTraversal(self):
- if TkVersion < 4.1:
- self.tk.call('tk_bindForTraversal', self._w)
+ pass # obsolete since Tk 4.0
def tk_mbPost(self):
self.tk.call('tk_mbPost', self._w)
def tk_mbUnpost(self):