aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/idlelib/mainmenu.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2016-09-12 01:57:25 -0400
committerTerry Jan Reedy <tjreedy@udel.edu>2016-09-12 01:57:25 -0400
commit3dad1a5b8296334c028e4ce90980d0a69558f8b8 (patch)
tree34bdd7c8c7828807e676121af1d3c7b73b0cc05d /Lib/idlelib/mainmenu.py
parent88057171f057dad4d855155c975d3e7c85cd23e3 (diff)
parent4b73676c3d260b37b91dedbc0b286c4e779350e4 (diff)
downloadcpython-3dad1a5b8296334c028e4ce90980d0a69558f8b8.tar.gz
cpython-3dad1a5b8296334c028e4ce90980d0a69558f8b8.zip
Merge 3.5 - Issue #15308: Add 'interrupt execution' (^C) to Shell menu.
Patch by Roger Serwy, updated by Bayard Randel.
Diffstat (limited to 'Lib/idlelib/mainmenu.py')
-rw-r--r--Lib/idlelib/mainmenu.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/idlelib/mainmenu.py b/Lib/idlelib/mainmenu.py
index 965ada30812..65345cd1f16 100644
--- a/Lib/idlelib/mainmenu.py
+++ b/Lib/idlelib/mainmenu.py
@@ -69,6 +69,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>>'),