diff options
author | Kurt B. Kaiser <kbk@shore.net> | 2003-01-26 04:17:16 (GMT) |
---|---|---|
committer | Kurt B. Kaiser <kbk@shore.net> | 2003-01-26 04:17:16 (GMT) |
commit | eb9637ef7de5693d1acba5809af7fa62aa1fff2c (patch) | |
tree | 392c2e506ef95b2b7a9c14efb920f254eb677083 /Lib/idlelib/ScriptBinding.py | |
parent | e685f9438d0302cde5290c649f68f4f783ff365a (diff) | |
download | cpython-eb9637ef7de5693d1acba5809af7fa62aa1fff2c.zip cpython-eb9637ef7de5693d1acba5809af7fa62aa1fff2c.tar.gz cpython-eb9637ef7de5693d1acba5809af7fa62aa1fff2c.tar.bz2 |
M ScriptBinding.py
M config-extensions.def
M help.txt
1. Run Script --> Run Module
2. Update IDLE Help file and do more work on format.
Diffstat (limited to 'Lib/idlelib/ScriptBinding.py')
-rw-r--r-- | Lib/idlelib/ScriptBinding.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/idlelib/ScriptBinding.py b/Lib/idlelib/ScriptBinding.py index dcb5f9a..0f44832 100644 --- a/Lib/idlelib/ScriptBinding.py +++ b/Lib/idlelib/ScriptBinding.py @@ -11,7 +11,7 @@ This adds the following commands: XXX GvR Redesign this interface (yet again) as follows: -- Present a dialog box for ``Run script'' +- Present a dialog box for ``Run Module'' - Allow specify command line arguments in the dialog box @@ -45,7 +45,7 @@ class ScriptBinding: menudefs = [ ('run', [None, ('Check Module', '<<check-module>>'), - ('Run Script', '<<run-script>>'), ]), ] + ('Run Module', '<<run-module>>'), ]), ] def __init__(self, editwin): self.editwin = editwin @@ -113,8 +113,8 @@ class ScriptBinding: text.mark_set("insert", pos + "+1c") text.see(pos) - def run_script_event(self, event): - "Check syntax, if ok run the script in the shell top level" + def run_module_event(self, event): + "Check syntax, if ok run the module in the shell top level" filename = self.getfilename() if not filename: return |