files to satisfy imports, pydoc.pyw was just importing itself!
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
+++ /dev/null
-import pydoc
-pydoc.gui()
--- /dev/null
+# 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()