[Python-checkins] cpython (merge 3.4 -> 3.5): Merge with 3.4
terry.reedy
python-checkins at python.org
Thu Sep 3 04:09:23 CEST 2015
https://hg.python.org/cpython/rev/ff1817c34423
changeset: 97603:ff1817c34423
branch: 3.5
parent: 97598:546f02960e83
parent: 97602:130a3edcac1d
user: Terry Jan Reedy <tjreedy at udel.edu>
date: Wed Sep 02 22:08:03 2015 -0400
summary:
Merge with 3.4
files:
Lib/idlelib/PyShell.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py
--- a/Lib/idlelib/PyShell.py
+++ b/Lib/idlelib/PyShell.py
@@ -487,7 +487,7 @@
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")
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list