Issue #17390: Display Python version on Idle title bar. Patch by Edmond Burnett.

This commit is contained in:
Terry Jan Reedy 2013-03-30 18:50:43 -04:00
parent 472f77daa5
commit d676a3a221
2 changed files with 9 additions and 1 deletions

View file

@ -15,6 +15,7 @@ import io
import linecache
from code import InteractiveInterpreter
from platform import python_version
try:
from Tkinter import *
@ -821,7 +822,7 @@ class ModifiedInterpreter(InteractiveInterpreter):
class PyShell(OutputWindow):
shell_title = "Python Shell"
shell_title = "Python " + python_version() + " Shell"
# Override classes
ColorDelegator = ModifiedColorDelegator