]> granicus.if.org Git - python/commitdiff
stupid typo in latest fix ('Name' should be 'name')
authorGuido van Rossum <guido@python.org>
Thu, 8 Aug 1996 18:31:42 +0000 (18:31 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 8 Aug 1996 18:31:42 +0000 (18:31 +0000)
Lib/lib-tk/Tkinter.py
Lib/tkinter/Tkinter.py

index e33c8c8cd1d85b13397229120bf1c4e985845355..cc2316e562245dd5257720245f94c0dc662e18eb 100644 (file)
@@ -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)
index e33c8c8cd1d85b13397229120bf1c4e985845355..cc2316e562245dd5257720245f94c0dc662e18eb 100755 (executable)
@@ -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)