mirror of https://github.com/python/cpython.git
Minor bugfix in keyboard input handling
This commit is contained in:
parent
425e9eb6cb
commit
6f47bf44ca
|
@ -261,7 +261,8 @@ def do_key(self, event):
|
||||||
do_char = window.do_char
|
do_char = window.do_char
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
do_char = self.do_char
|
do_char = self.do_char
|
||||||
do_char(c, event)
|
do_char(c, event)
|
||||||
|
# else it wasn't for us, sigh...
|
||||||
|
|
||||||
def do_char(self, c, event):
|
def do_char(self, c, event):
|
||||||
if DEBUG: print "Character", `c`
|
if DEBUG: print "Character", `c`
|
||||||
|
|
Loading…
Reference in New Issue