diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-06-27 04:02:32 (GMT) |
---|---|---|
committer | terryjreedy <tjreedy@udel.edu> | 2017-06-27 04:02:32 (GMT) |
commit | 213ce12adfc9281c6f381bb45d132e9de8ffd450 (patch) | |
tree | db01c6fdab2e3a9c986d5b49c5294d309ae11f56 /Lib/idlelib/autocomplete.py | |
parent | 9a02ae3d3d645f0c8178f3362694f473bab6fe3e (diff) | |
download | cpython-213ce12adfc9281c6f381bb45d132e9de8ffd450.zip cpython-213ce12adfc9281c6f381bb45d132e9de8ffd450.tar.gz cpython-213ce12adfc9281c6f381bb45d132e9de8ffd450.tar.bz2 |
bpo-29910: IDLE no longer deletes a character after commenting out a region (#825)
This happened because shortcut has a class binding and 'break' was not returned.
Fix other potential conflicts between IDLE and default key bindings.
* Add news item
* Update NEWS
Diffstat (limited to 'Lib/idlelib/autocomplete.py')
-rw-r--r-- | Lib/idlelib/autocomplete.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/idlelib/autocomplete.py b/Lib/idlelib/autocomplete.py index 1e44fa5..cd212cc 100644 --- a/Lib/idlelib/autocomplete.py +++ b/Lib/idlelib/autocomplete.py @@ -60,6 +60,7 @@ class AutoComplete: if a function call is needed. """ self.open_completions(True, False, True) + return "break" def try_open_completions_event(self, event): """Happens when it would be nice to open a completion list, but not |