From: Guido van Rossum Date: Sun, 27 Feb 2000 15:35:47 +0000 (+0000) Subject: Fix a typo in Barry's checkin. X-Git-Tag: v1.6a1~341 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0ba33002e1df4627901f3303574554f239789a1a;p=python Fix a typo in Barry's checkin. Reported both by Gerrit Holl and Mark Favas. --- diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py index a95bf42b56..9d0ea88334 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]