diff options
author | Guido van Rossum <guido@python.org> | 2000-02-27 15:35:47 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-02-27 15:35:47 (GMT) |
commit | 0ba33002e1df4627901f3303574554f239789a1a (patch) | |
tree | fc445a9f680bc2a8f0bb5d12104eb1e1ed78d4dc /Lib/lib-tk | |
parent | d28de23bda3a6badc23f7b693a5e6982eb4cc9db (diff) | |
download | cpython-0ba33002e1df4627901f3303574554f239789a1a.zip cpython-0ba33002e1df4627901f3303574554f239789a1a.tar.gz cpython-0ba33002e1df4627901f3303574554f239789a1a.tar.bz2 |
Fix a typo in Barry's checkin.
Reported both by Gerrit Holl and Mark Favas.
Diffstat (limited to 'Lib/lib-tk')
-rw-r--r-- | Lib/lib-tk/Tkinter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py index a95bf42..9d0ea88 100644 --- a/Lib/lib-tk/Tkinter.py +++ b/Lib/lib-tk/Tkinter.py @@ -1810,7 +1810,7 @@ class OptionMenu(Menubutton): self.menuname = menu._w # 'command' is the only supported keyword callback = kwargs.get('command') - if kwargs.has_key('command') + if kwargs.has_key('command'): del kwargs['command'] if kwargs: raise TclError, 'unknown option -'+kwargs.keys()[0] |