Kaydet (Commit) 45e5e72e authored tarafından Tim Peters's avatar Tim Peters

Rename pydoc.pyw to pydocgui.pyw: Since we changed Python to allow .pyw

files to satisfy imports, pydoc.pyw was just importing itself!
üst b39fa0e0
......@@ -2451,7 +2451,7 @@ end
item: Create Shortcut
Source=%MAINDIR%\pythonw.exe
Destination=%GROUP%\Module Docs.lnk
Command Options="%MAINDIR%\Tools\Scripts\pydoc.pyw"
Command Options="%MAINDIR%\Tools\Scripts\pydocgui.pyw"
Working Directory=%MAINDIR%
Key Type=1536
Flags=00000001
......
# Note: this file must not be named pydoc.pyw, lest it just end up
# importing itself (Python began allowing import of .pyw files
# between 2.2a1 and 2.2a2).
import pydoc
pydoc.gui()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment