This website requires JavaScript.
Explore
Help
Sign in
Stowage
/
cpython
Watch
2
Star
0
Fork
You've already forked cpython
0
mirror of
https://github.com/python/cpython.git
synced
2025-10-20 16:33:53 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
0b4915e99e
cpython
/
Tools
/
scripts
/
pydoc3
6 lines
80 B
Text
Raw
Normal View
History
Unescape
Escape
install idle and pydoc with a 3 suffix #5756
2009-04-25 21:11:45 +00:00
#!/usr/bin/env python3
Add script form of pydoc so that it's present in beta1. Currently this just copies the __name__=='__main__' logic from pydoc.py. ?!ng can decide whether he wants to create a main() in pydoc, or rip it out of pydoc.py completely.
2001-02-28 20:55:10 +00:00
Call main routine in pydoc module (pydoc.cli).
2001-03-01 00:25:40 +00:00
import pydoc
[Patch #1005491 ] use __name__ == '__main__' in scripts
2004-08-09 17:27:55 +00:00
if __name__ == '__main__':
pydoc.cli()
Reference in a new issue
Copy permalink