Merge from 3.3: Issue #17390
This commit is contained in:
commit
42a83201a0
|
@ -1,6 +1,9 @@
|
|||
What's New in IDLE 3.4.0?
|
||||
=========================
|
||||
|
||||
- Issue #17390: Display Python version on Idle title bar.
|
||||
Initial patch by Edmond Burnett.
|
||||
|
||||
- Issue #5066: Update IDLE docs. Patch by Todd Rovito.
|
||||
|
||||
- Issue #16226: Fix IDLE Path Browser crash.
|
||||
|
|
|
@ -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