summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2015-09-03 02:07:44 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2015-09-03 02:07:44 (GMT)
commitac5004f7ced7b0d4e410af2e005dd7a400bf26ac (patch)
tree50cd38c80fb89d45fc6299a5c1c36bae70dd28c1 /Lib/idlelib
parent1c4055208758c6e85f00674eae24e0351b659c5a (diff)
downloadcpython-ac5004f7ced7b0d4e410af2e005dd7a400bf26ac.zip
cpython-ac5004f7ced7b0d4e410af2e005dd7a400bf26ac.tar.gz
cpython-ac5004f7ced7b0d4e410af2e005dd7a400bf26ac.tar.bz2
Issue #21192: Change 'RUN' back to 'RESTART' when running editor file.
Diffstat (limited to 'Lib/idlelib')
-rwxr-xr-xLib/idlelib/PyShell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py
index 3869d45..5854cf9 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")