Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
39e9af6b
Commit
39e9af6b
authored
Aug 25, 2016
by
Terry Jan Reedy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add version to title of IDLE help window.
parent
37cac761
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Lib/idlelib/help.py
Lib/idlelib/help.py
+2
-1
No files found.
Lib/idlelib/help.py
View file @
39e9af6b
...
...
@@ -26,6 +26,7 @@ show_idlehelp - Create HelpWindow. Called in EditorWindow.help_dialog.
"""
from
html.parser
import
HTMLParser
from
os.path
import
abspath
,
dirname
,
isdir
,
isfile
,
join
from
platform
import
python_version
from
tkinter
import
Tk
,
Toplevel
,
Frame
,
Text
,
Scrollbar
,
Menu
,
Menubutton
from
tkinter
import
font
as
tkfont
from
idlelib.configHandler
import
idleConf
...
...
@@ -265,7 +266,7 @@ def show_idlehelp(parent):
if
not
isfile
(
filename
):
# try copy_strip, present message
return
HelpWindow
(
parent
,
filename
,
'IDLE Help
'
)
HelpWindow
(
parent
,
filename
,
'IDLE Help
(%s)'
%
python_version
()
)
if
__name__
==
'__main__'
:
from
idlelib.idle_test.htest
import
run
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment