summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-02-27 15:35:47 +0000
committerGuido van Rossum <guido@python.org>2000-02-27 15:35:47 +0000
commitc0ec96773c7bf89712f94ebe503291ef7d7a6fdf (patch)
treea340ed37fa41f19a4e0ba0987e3425faf4757ba9
parentbeb9a453ccf9eb23b663b51c40785a80ac359a2c (diff)
downloadcpython-c0ec96773c7bf89712f94ebe503291ef7d7a6fdf.tar.gz
Fix a typo in Barry's checkin.
Reported both by Gerrit Holl and Mark Favas.
-rw-r--r--Lib/lib-tk/Tkinter.py2
1 files changed, 1 insertions, 1 deletions
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]