summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/calltips.py
diff options
context:
space:
mode:
authorterryjreedy <tjreedy@udel.edu>2017-06-27 05:53:40 (GMT)
committerGitHub <noreply@github.com>2017-06-27 05:53:40 (GMT)
commit8bdc3bd3d66fefdc07d32bd19c41c6f902f16111 (patch)
tree6a331311db06da59a5f9f71d6d0722eb8b8f4084 /Lib/idlelib/calltips.py
parent2d348f7a723db839aa18ce8213b8663ccb0a3d35 (diff)
downloadcpython-8bdc3bd3d66fefdc07d32bd19c41c6f902f16111.zip
cpython-8bdc3bd3d66fefdc07d32bd19c41c6f902f16111.tar.gz
cpython-8bdc3bd3d66fefdc07d32bd19c41c6f902f16111.tar.bz2
[3.6] bpo-29910: IDLE no longer deletes a character after commenting out a region (GH-825) (#2429)
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 (cherry picked from commit 213ce12)
Diffstat (limited to 'Lib/idlelib/calltips.py')
-rw-r--r--Lib/idlelib/calltips.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/idlelib/calltips.py b/Lib/idlelib/calltips.py
index 4c5aea2..a8a3abe 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