PyMOTW: pydoc – Online help for Python modules

The pydoc module imports a Python module and uses the contents to generate help text at runtime. The output includes docstrings for any objects that have them, and all of the documentable contents of the module are described.

Read more at pymotw.com: pydoc