diff options
author | Guido van Rossum <guido@python.org> | 1996-08-08 18:31:42 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-08-08 18:31:42 (GMT) |
commit | 5468a7b76bedec239ea94a3d0908008dfbafcf8b (patch) | |
tree | 910ecb819773f27e002fd781ee49abde9ab25878 /Lib/lib-tk | |
parent | 524e9a450bfb4b40f2815923a3229beab058858a (diff) | |
download | cpython-5468a7b76bedec239ea94a3d0908008dfbafcf8b.zip cpython-5468a7b76bedec239ea94a3d0908008dfbafcf8b.tar.gz cpython-5468a7b76bedec239ea94a3d0908008dfbafcf8b.tar.bz2 |
stupid typo in latest fix ('Name' should be 'name')
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 e33c8c8..cc2316e 100644 --- a/Lib/lib-tk/Tkinter.py +++ b/Lib/lib-tk/Tkinter.py @@ -167,7 +167,7 @@ class Misc: self.tk.call('focus', 'none') def focus_get(self): name = self.tk.call('focus') - if name == 'none' or not Name: return None + if name == 'none' or not name: return None return self._nametowidget(name) def tk_focusNext(self): name = self.tk.call('tk_focusNext', self._w) |