diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-06-17 19:47:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-17 19:47:55 -0700 |
commit | 81f7899f517f18a45ab111598f9dd6d7210956a8 (patch) | |
tree | 348879a98ee05ff8ef4b59d08dac5c55ffbef8ad /Lib/idlelib/mainmenu.py | |
parent | 14bac0088271d0a5c428e3468ef94fe7c73e93f7 (diff) | |
download | cpython-git-81f7899f517f18a45ab111598f9dd6d7210956a8.tar.gz |
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.
(cherry picked from commit 201bc2d18b60adb05810d2a6ab396047bc527088)
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
Diffstat (limited to 'Lib/idlelib/mainmenu.py')
-rw-r--r-- | Lib/idlelib/mainmenu.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/idlelib/mainmenu.py b/Lib/idlelib/mainmenu.py index f834220fc2..1b8dc47565 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', [ |