mirror of
https://github.com/python/cpython.git
synced 2025-10-21 14:12:27 +00:00
Merge from 3.3: Issue #17390
This commit is contained in:
commit
42a83201a0
2 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,9 @@
|
||||||
What's New in IDLE 3.4.0?
|
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 #5066: Update IDLE docs. Patch by Todd Rovito.
|
||||||
|
|
||||||
- Issue #16226: Fix IDLE Path Browser crash.
|
- Issue #16226: Fix IDLE Path Browser crash.
|
||||||
|
|
|
@ -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):
|
||||||
|
|
||||||
class PyShell(OutputWindow):
|
class PyShell(OutputWindow):
|
||||||
|
|
||||||
shell_title = "Python Shell"
|
shell_title = "Python " + python_version() + " Shell"
|
||||||
|
|
||||||
# Override classes
|
# Override classes
|
||||||
ColorDelegator = ModifiedColorDelegator
|
ColorDelegator = ModifiedColorDelegator
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue