diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2012-06-03 10:33:23 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2012-06-03 10:33:23 (GMT) |
commit | f20940792df1f3b1dbda3ec5fdd6a8b6bc9f96d5 (patch) | |
tree | 6d90e2db588d354936773ef9807ea6d030597d52 /Lib/idlelib/AutoCompleteWindow.py | |
parent | 428d161b577118c3160839d659a3b0b4afd577e2 (diff) | |
parent | 9f44a66abc476a6aa57238c005253242b45f827e (diff) | |
download | cpython-f20940792df1f3b1dbda3ec5fdd6a8b6bc9f96d5.zip cpython-f20940792df1f3b1dbda3ec5fdd6a8b6bc9f96d5.tar.gz cpython-f20940792df1f3b1dbda3ec5fdd6a8b6bc9f96d5.tar.bz2 |
merge 3.2
Diffstat (limited to 'Lib/idlelib/AutoCompleteWindow.py')
-rw-r--r-- | Lib/idlelib/AutoCompleteWindow.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/AutoCompleteWindow.py b/Lib/idlelib/AutoCompleteWindow.py index 0477746..7787e70 100644 --- a/Lib/idlelib/AutoCompleteWindow.py +++ b/Lib/idlelib/AutoCompleteWindow.py @@ -354,7 +354,7 @@ class AutoCompleteWindow: # A modifier key, so ignore return - elif event.char: + elif event.char and event.char >= ' ': # Regular character with a non-length-1 keycode self._change_start(self.start + event.char) self.lasttypedstart = self.start |