From: Tim Peters Date: Sun, 5 Aug 2001 05:43:20 +0000 (+0000) Subject: Rename pydoc.pyw to pydocgui.pyw: Since we changed Python to allow .pyw X-Git-Tag: v2.2a3~809 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=45e5e72eb8488d3df4c183d4e91bf27c19b08b76;p=thirdparty%2FPython%2Fcpython.git Rename pydoc.pyw to pydocgui.pyw: Since we changed Python to allow .pyw files to satisfy imports, pydoc.pyw was just importing itself! --- diff --git a/PCbuild/python20.wse b/PCbuild/python20.wse index 6131986e545e..3ec564eec077 100644 --- a/PCbuild/python20.wse +++ b/PCbuild/python20.wse @@ -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 diff --git a/Tools/scripts/pydoc.pyw b/Tools/scripts/pydoc.pyw deleted file mode 100755 index 66992f999a8a..000000000000 --- a/Tools/scripts/pydoc.pyw +++ /dev/null @@ -1,2 +0,0 @@ -import pydoc -pydoc.gui() diff --git a/Tools/scripts/pydocgui.pyw b/Tools/scripts/pydocgui.pyw new file mode 100644 index 000000000000..61a8b89f41f8 --- /dev/null +++ b/Tools/scripts/pydocgui.pyw @@ -0,0 +1,5 @@ +# 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()