summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/mainmenu.py
diff options
context:
space:
mode:
authorCheryl Sabella <cheryl.sabella@gmail.com>2019-06-18 02:24:10 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2019-06-18 02:24:10 (GMT)
commit201bc2d18b60adb05810d2a6ab396047bc527088 (patch)
tree1514619817f5282089691111547166b16cd4af56 /Lib/idlelib/mainmenu.py
parent7fb3190bcf9872dca3d83a7f9e3e65cbce8be9ed (diff)
downloadcpython-201bc2d18b60adb05810d2a6ab396047bc527088.zip
cpython-201bc2d18b60adb05810d2a6ab396047bc527088.tar.gz
cpython-201bc2d18b60adb05810d2a6ab396047bc527088.tar.bz2
bpo-5680: IDLE: Customize running a module (GH-13763)
The initialize options are 1) add command line options, which are appended to sys.argv as if passed on a real command line, and 2) skip the shell restart. The customization dialog is accessed by a new entry on the Run menu.
Diffstat (limited to 'Lib/idlelib/mainmenu.py')
-rw-r--r--Lib/idlelib/mainmenu.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/idlelib/mainmenu.py b/Lib/idlelib/mainmenu.py
index f834220..1b8dc47 100644
--- a/Lib/idlelib/mainmenu.py
+++ b/Lib/idlelib/mainmenu.py
@@ -76,6 +76,7 @@ menudefs = [
('Python Shell', '<<open-python-shell>>'),
('C_heck Module', '<<check-module>>'),
('R_un Module', '<<run-module>>'),
+ ('Run... _Customized', '<<run-custom>>'),
]),
('shell', [