From 5468a7b76bedec239ea94a3d0908008dfbafcf8b Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 8 Aug 1996 18:31:42 +0000 Subject: [PATCH] stupid typo in latest fix ('Name' should be 'name') --- Lib/lib-tk/Tkinter.py | 2 +- Lib/tkinter/Tkinter.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py index e33c8c8cd1..cc2316e562 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) diff --git a/Lib/tkinter/Tkinter.py b/Lib/tkinter/Tkinter.py index e33c8c8cd1..cc2316e562 100755 --- a/Lib/tkinter/Tkinter.py +++ b/Lib/tkinter/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) -- 2.50.1