diff options
author | Cheryl Sabella <cheryl.sabella@gmail.com> | 2019-06-17 22:24:10 -0400 |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2019-06-17 22:24:10 -0400 |
commit | 201bc2d18b60adb05810d2a6ab396047bc527088 (patch) | |
tree | 1514619817f5282089691111547166b16cd4af56 /Lib/idlelib/editor.py | |
parent | 7fb3190bcf9872dca3d83a7f9e3e65cbce8be9ed (diff) | |
download | cpython-git-201bc2d18b60adb05810d2a6ab396047bc527088.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.
Diffstat (limited to 'Lib/idlelib/editor.py')
-rw-r--r-- | Lib/idlelib/editor.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/idlelib/editor.py b/Lib/idlelib/editor.py index a6674728cd..606de71a6a 100644 --- a/Lib/idlelib/editor.py +++ b/Lib/idlelib/editor.py @@ -304,6 +304,7 @@ class EditorWindow(object): scriptbinding = ScriptBinding(self) text.bind("<<check-module>>", scriptbinding.check_module_event) text.bind("<<run-module>>", scriptbinding.run_module_event) + text.bind("<<run-custom>>", scriptbinding.run_custom_event) text.bind("<<do-rstrip>>", self.Rstrip(self).do_rstrip) ctip = self.Calltip(self) text.bind("<<try-open-calltip>>", ctip.try_open_calltip_event) |