diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2015-09-03 21:26:12 -0400 |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2015-09-03 21:26:12 -0400 |
commit | a43de00b74e458a2dd965a82c32b879c5084a490 (patch) | |
tree | 603f6348e7bf0859189045caf264fe122169fe1c /Lib | |
parent | df6b544ff6f342e8a64056e627867a70413bfdb0 (diff) | |
download | cpython-git-a43de00b74e458a2dd965a82c32b879c5084a490.tar.gz |
Issue #21192: Change 'RUN' back to 'RESTART' when running editor file.
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/idlelib/PyShell.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index 3869d45eaf..5854cf91a4 100755 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -487,7 +487,7 @@ class ModifiedInterpreter(InteractiveInterpreter): console.stop_readline() # annotate restart in shell window and mark it console.text.delete("iomark", "end-1c") - tag = 'RUN ' + filename if filename else 'RESTART Shell' + tag = 'RESTART: ' + (filename if filename else 'Shell') halfbar = ((int(console.width) -len(tag) - 4) // 2) * '=' console.write("\n{0} {1} {0}".format(halfbar, tag)) console.text.mark_set("restart", "end-1c") |