mirror of
https://github.com/python/cpython.git
synced 2025-10-30 05:01:30 +00:00
Minor bugfix in keyboard input handling
This commit is contained in:
parent
425e9eb6cb
commit
6f47bf44ca
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue