Mercurial > cpython-lru_cache-weakref
changeset 11865:2fa89e657a4e legacy-trunk
Fix a typo in Barry's checkin.
Reported both by Gerrit Holl and Mark Favas.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Sun, 27 Feb 2000 15:35:47 +0000 |
| parents | ca350a719887 |
| children | 069ea5736ff6 |
| files | Lib/lib-tk/Tkinter.py |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Lib/lib-tk/Tkinter.py Sun Feb 27 15:34:29 2000 +0000 +++ b/Lib/lib-tk/Tkinter.py Sun Feb 27 15:35:47 2000 +0000 @@ -1810,7 +1810,7 @@ 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]
