Mercurial > cpython-lru_cache-weakref
diff Lib/idlelib/PyShell.py @ 83033:225022955c65 2.7
Issue #17390: Display Python version on Idle title bar. Patch by Edmond Burnett.
| author | Terry Jan Reedy <tjreedy@udel.edu> |
|---|---|
| date | Sat, 30 Mar 2013 18:50:43 -0400 |
| parents | def4cd7e0a9f |
| children | 240c83902fca |
line wrap: on
line diff
--- a/Lib/idlelib/PyShell.py Sat Mar 30 15:31:31 2013 -0400 +++ b/Lib/idlelib/PyShell.py Sat Mar 30 18:50:43 2013 -0400 @@ -15,6 +15,7 @@ import linecache from code import InteractiveInterpreter +from platform import python_version try: from Tkinter import * @@ -821,7 +822,7 @@ class PyShell(OutputWindow): - shell_title = "Python Shell" + shell_title = "Python " + python_version() + " Shell" # Override classes ColorDelegator = ModifiedColorDelegator
