mirror of https://github.com/python/cpython
Issue #17390: Display Python version on Idle title bar. Patch by Edmond Burnett.
This commit is contained in:
parent
19aeb439c6
commit
32622236d5
|
@ -1,3 +1,10 @@
|
|||
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?
|
||||
=========================
|
||||
|
||||
|
|
|
@ -16,6 +16,7 @@ import io
|
|||
|
||||
import linecache
|
||||
from code import InteractiveInterpreter
|
||||
from platform import python_version
|
||||
|
||||
try:
|
||||
from tkinter import *
|
||||
|
@ -799,7 +800,7 @@ class ModifiedInterpreter(InteractiveInterpreter):
|
|||
|
||||
class PyShell(OutputWindow):
|
||||
|
||||
shell_title = "Python Shell"
|
||||
shell_title = "Python " + python_version() + " Shell"
|
||||
|
||||
# Override classes
|
||||
ColorDelegator = ModifiedColorDelegator
|
||||
|
|
Loading…
Reference in New Issue