mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #17390: Display Python version on Idle title bar. Patch by Edmond Burnett.
This commit is contained in:
parent
472f77daa5
commit
d676a3a221
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
What's New in IDLE 2.7.5?
|
||||
=========================
|
||||
|
||||
- Issue #17390: Display Python version on Idle title bar.
|
||||
Initial patch by Edmond Burnett.
|
||||
|
||||
|
||||
What's New in IDLE 2.7.4?
|
||||
=========================
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue