This website requires JavaScript.
Explore
Help
Register
Sign In
Rooba
/
cpython
mirror of
https://github.com/python/cpython.git
Watch
1
Star
0
Fork
You've already forked cpython
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
2a9b367385
cpython
/
Tools
/
scripts
/
pydoc
5 lines
48 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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
#!/usr/bin/env python
Call main routine in pydoc module (pydoc.cli).
2001-03-01 00:25:40 +00:00
import pydoc
pydoc.cli()