summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/Bindings.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2016-09-12 05:49:55 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2016-09-12 05:49:55 (GMT)
commit87bcc1d6460f05600d787ccf5a8eba49c08ed46b (patch)
tree7ee46ca7fb27c2077aae310dd00d3ec88c234974 /Lib/idlelib/Bindings.py
parent63c79966d5db67cdc8a50dff7577ebab92bb9c91 (diff)
downloadcpython-87bcc1d6460f05600d787ccf5a8eba49c08ed46b.zip
cpython-87bcc1d6460f05600d787ccf5a8eba49c08ed46b.tar.gz
cpython-87bcc1d6460f05600d787ccf5a8eba49c08ed46b.tar.bz2
Issue #15308: Add 'interrupt execution' (^C) to Shell menu.
Patch by Roger Serwy, updated by Bayard Randel.
Diffstat (limited to 'Lib/idlelib/Bindings.py')
-rw-r--r--Lib/idlelib/Bindings.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/idlelib/Bindings.py b/Lib/idlelib/Bindings.py
index 862e6ab..2fd8532 100644
--- a/Lib/idlelib/Bindings.py
+++ b/Lib/idlelib/Bindings.py
@@ -67,6 +67,8 @@ menudefs = [
('shell', [
('_View Last Restart', '<<view-restart>>'),
('_Restart Shell', '<<restart-shell>>'),
+ None,
+ ('_Interrupt Execution', '<<interrupt-execution>>'),
]),
('debug', [
('_Go to File/Line', '<<goto-file-line>>'),