commit | 5468a7b76bedec239ea94a3d0908008dfbafcf8b | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Aug 08 18:31:42 1996 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Aug 08 18:31:42 1996 +0000 |
tree | 910ecb819773f27e002fd781ee49abde9ab25878 | |
parent | 524e9a450bfb4b40f2815923a3229beab058858a [diff] [blame] |
stupid typo in latest fix ('Name' should be 'name')
diff --git a/Lib/tkinter/Tkinter.py b/Lib/tkinter/Tkinter.py index e33c8c8..cc2316e 100755 --- a/Lib/tkinter/Tkinter.py +++ b/Lib/tkinter/Tkinter.py
@@ -167,7 +167,7 @@ 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)