diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2015-09-03 02:08:03 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2015-09-03 02:08:03 (GMT) |
commit | 379583e762c6ac8b4f2e86220ce0bfa8d54c6919 (patch) | |
tree | 45df598a931a08025f0c9dd98966443e0341c989 /Lib | |
parent | 5ad5821d0960994b0cdf3ed451de48e5b2490704 (diff) | |
parent | ac5004f7ced7b0d4e410af2e005dd7a400bf26ac (diff) | |
download | cpython-379583e762c6ac8b4f2e86220ce0bfa8d54c6919.zip cpython-379583e762c6ac8b4f2e86220ce0bfa8d54c6919.tar.gz cpython-379583e762c6ac8b4f2e86220ce0bfa8d54c6919.tar.bz2 |
Merge with 3.4
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 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") |