Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0c3ea09

Browse files
committed
Issue #14512: Launch pydoc -b instead of pydocgui.pyw on Windows.
1 parent a663069 commit 0c3ea09

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Core and Builtins
1515
Build
1616
-----
1717

18+
- Issue #14512: Launch pydoc -b instead of pydocgui.pyw on Windows.
19+
1820
- Issue #20748: Uninstalling pip does not leave behind the pyc of
1921
the uninstaller anymore.
2022

Tools/msi/msi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1324,8 +1324,6 @@ def add_registry(db):
13241324
tcltkshortcuts = [
13251325
("IDLE", "MenuDir", "IDLE|IDLE (Python GUI)", "pythonw.exe",
13261326
tcltk.id, r'"[TARGETDIR]Lib\idlelib\idle.pyw"', None, None, "python_icon.exe", 0, None, "TARGETDIR"),
1327-
("PyDoc", "MenuDir", "MODDOCS|Module Docs", "pythonw.exe",
1328-
tcltk.id, r'"[TARGETDIR]Tools\scripts\pydocgui.pyw"', None, None, "python_icon.exe", 0, None, "TARGETDIR"),
13291327
]
13301328
add_data(db, "Shortcut",
13311329
tcltkshortcuts +
@@ -1340,6 +1338,8 @@ def add_registry(db):
13401338
("Manual", "MenuDir", "MANUAL|Python Manuals", "REGISTRY.doc",
13411339
"[#%s]" % docfile, None,
13421340
None, None, None, None, None, None),
1341+
("PyDoc", "MenuDir", "MODDOCS|Module Docs", "python.exe",
1342+
default_feature.id, r'-m pydoc -b', None, None, "python_icon.exe", 0, None, "TARGETDIR"),
13431343
("Uninstall", "MenuDir", "UNINST|Uninstall Python", "REGISTRY",
13441344
SystemFolderName+"msiexec", "/x%s" % product_code,
13451345
None, None, None, None, None, None),

0 commit comments

Comments
 (0)