mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00: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:
parent
b39fa0e0fa
commit
45e5e72eb8
3 changed files with 6 additions and 3 deletions
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()
|
Loading…
Add table
Add a link
Reference in a new issue