Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ac5004f

Browse files
committed
Issue #21192: Change 'RUN' back to 'RESTART' when running editor file.
1 parent 1c40552 commit ac5004f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/idlelib/PyShell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ def restart_subprocess(self, with_cwd=False, filename=''):
487487
console.stop_readline()
488488
# annotate restart in shell window and mark it
489489
console.text.delete("iomark", "end-1c")
490-
tag = 'RUN ' + filename if filename else 'RESTART Shell'
490+
tag = 'RESTART: ' + (filename if filename else 'Shell')
491491
halfbar = ((int(console.width) -len(tag) - 4) // 2) * '='
492492
console.write("\n{0} {1} {0}".format(halfbar, tag))
493493
console.text.mark_set("restart", "end-1c")

0 commit comments

Comments
 (0)