From 213ce12adfc9281c6f381bb45d132e9de8ffd450 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Tue, 27 Jun 2017 07:02:32 +0300 Subject: 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 --- Lib/idlelib/calltips.py | 1 + 1 file changed, 1 insertion(+) (limited to 'Lib/idlelib/calltips.py') diff --git a/Lib/idlelib/calltips.py b/Lib/idlelib/calltips.py index 4c5aea2acb..a8a3abe6c6 100644 --- a/Lib/idlelib/calltips.py +++ b/Lib/idlelib/calltips.py @@ -47,6 +47,7 @@ class CallTips: def force_open_calltip_event(self, event): "The user selected the menu entry or hotkey, open the tip." self.open_calltip(True) + return "break" def try_open_calltip_event(self, event): """Happens when it would be nice to open a CallTip, but not really -- cgit v1.2.1