Issue #14512: Launch pydoc -b instead of pydocgui.pyw on Windows.

This commit is contained in:
Martin v. Löwis 2014-03-02 20:29:18 +01:00
parent a663069b5c
commit 0c3ea0942d
2 changed files with 4 additions and 2 deletions

View File

@ -15,6 +15,8 @@ Core and Builtins
Build Build
----- -----
- Issue #14512: Launch pydoc -b instead of pydocgui.pyw on Windows.
- Issue #20748: Uninstalling pip does not leave behind the pyc of - Issue #20748: Uninstalling pip does not leave behind the pyc of
the uninstaller anymore. the uninstaller anymore.

View File

@ -1324,8 +1324,6 @@ def add_registry(db):
tcltkshortcuts = [ tcltkshortcuts = [
("IDLE", "MenuDir", "IDLE|IDLE (Python GUI)", "pythonw.exe", ("IDLE", "MenuDir", "IDLE|IDLE (Python GUI)", "pythonw.exe",
tcltk.id, r'"[TARGETDIR]Lib\idlelib\idle.pyw"', None, None, "python_icon.exe", 0, None, "TARGETDIR"), tcltk.id, r'"[TARGETDIR]Lib\idlelib\idle.pyw"', None, None, "python_icon.exe", 0, None, "TARGETDIR"),
("PyDoc", "MenuDir", "MODDOCS|Module Docs", "pythonw.exe",
tcltk.id, r'"[TARGETDIR]Tools\scripts\pydocgui.pyw"', None, None, "python_icon.exe", 0, None, "TARGETDIR"),
] ]
add_data(db, "Shortcut", add_data(db, "Shortcut",
tcltkshortcuts + tcltkshortcuts +
@ -1340,6 +1338,8 @@ def add_registry(db):
("Manual", "MenuDir", "MANUAL|Python Manuals", "REGISTRY.doc", ("Manual", "MenuDir", "MANUAL|Python Manuals", "REGISTRY.doc",
"[#%s]" % docfile, None, "[#%s]" % docfile, None,
None, None, None, None, None, None), None, None, None, None, None, None),
("PyDoc", "MenuDir", "MODDOCS|Module Docs", "python.exe",
default_feature.id, r'-m pydoc -b', None, None, "python_icon.exe", 0, None, "TARGETDIR"),
("Uninstall", "MenuDir", "UNINST|Uninstall Python", "REGISTRY", ("Uninstall", "MenuDir", "UNINST|Uninstall Python", "REGISTRY",
SystemFolderName+"msiexec", "/x%s" % product_code, SystemFolderName+"msiexec", "/x%s" % product_code,
None, None, None, None, None, None), None, None, None, None, None, None),