Commit f44b400b authored by Terry Jan Reedy's avatar Terry Jan Reedy

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

parent b33f8a68
What's New in IDLE 3.3.2?
=========================
- Issue #17390: Display Python version on Idle title bar.
Initial patch by Edmond Burnett.
What's New in IDLE 3.3.1? What's New in IDLE 3.3.1?
========================= =========================
......
...@@ -16,6 +16,7 @@ import io ...@@ -16,6 +16,7 @@ import io
import linecache import linecache
from code import InteractiveInterpreter from code import InteractiveInterpreter
from platform import python_version
try: try:
from tkinter import * from tkinter import *
...@@ -799,7 +800,7 @@ class ModifiedInterpreter(InteractiveInterpreter): ...@@ -799,7 +800,7 @@ class ModifiedInterpreter(InteractiveInterpreter):
class PyShell(OutputWindow): class PyShell(OutputWindow):
shell_title = "Python Shell" shell_title = "Python " + python_version() + " Shell"
# Override classes # Override classes
ColorDelegator = ModifiedColorDelegator ColorDelegator = ModifiedColorDelegator
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment