mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
gh-96491: Deduplicate version in IDLE shell title (#139841)
Saving to a file added both the filename and repeated the version. --------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
parent
ff7bb565d8
commit
d4e5802588
5 changed files with 10 additions and 5 deletions
|
|
@ -22,7 +22,6 @@
|
|||
import linecache
|
||||
import os
|
||||
import os.path
|
||||
from platform import python_version
|
||||
import re
|
||||
import socket
|
||||
import subprocess
|
||||
|
|
@ -841,7 +840,7 @@ def display_executing_dialog(self):
|
|||
class PyShell(OutputWindow):
|
||||
from idlelib.squeezer import Squeezer
|
||||
|
||||
shell_title = "IDLE Shell " + python_version()
|
||||
shell_title = "IDLE Shell"
|
||||
|
||||
# Override classes
|
||||
ColorDelegator = ModifiedColorDelegator
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue