Skip to content

Commit 13d562e

Browse files
gpsheadclaude
andcommitted
Adopt additional IDLE help file changes from #140418
Remove PDF and CHM references from IDLE help file browser and config. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 2e6f6df commit 13d562e

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Lib/idlelib/config-main.def

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@
3434
# relevant settings from the default file.
3535
#
3636
# Additional help sources are listed in the [HelpFiles] section below
37-
# and should be viewable by a web browser (or the Windows Help viewer in
38-
# the case of .chm files). These sources will be listed on the Help
39-
# menu. The pattern, and two examples, are:
37+
# and should be viewable by a web browser. These sources will be listed
38+
# on the Help menu. The pattern, and two examples, are:
4039
#
4140
# <sequence_number = menu item;/path/to/help/source>
4241
# 1 = IDLE;C:/Programs/Python36/Lib/idlelib/help.html

Lib/idlelib/query.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,6 @@ def askfilename(self, filetypes, initdir, initfile): # htest #
289289
def browse_file(self):
290290
filetypes = [
291291
("HTML Files", "*.htm *.html", "TEXT"),
292-
("PDF Files", "*.pdf", "TEXT"),
293-
("Windows Help Files", "*.chm"),
294292
("Text Files", "*.txt", "TEXT"),
295293
("All Files", "*")]
296294
path = self.pathvar.get()

0 commit comments

Comments
 (0)