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:
Stan Ulbrych 2025-10-11 02:37:48 +01:00 committed by GitHub
parent ff7bb565d8
commit d4e5802588
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 10 additions and 5 deletions

View file

@ -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