mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Rename pydoc.pyw to pydocgui.pyw: Since we changed Python to allow .pyw
files to satisfy imports, pydoc.pyw was just importing itself!
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
import pydoc
|
||||
pydoc.gui()
|
||||
5
Tools/scripts/pydocgui.pyw
Normal file
5
Tools/scripts/pydocgui.pyw
Normal file
@@ -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()
|
||||
Reference in New Issue
Block a user