Commit a9c3c808 authored by Guido van Rossum's avatar Guido van Rossum

stupid typo in latest fix ('Name' should be 'name')

parent 246ff77d
......@@ -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)
......
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment