[Python-checkins] r82949 - in python/branches/py3k: Doc/documenting/markup.rst Doc/library/pdb.rst Doc/tools/sphinxext/pyspecific.py Lib/pdb.doc Lib/pdb.py
Alexander Belopolsky
alexander.belopolsky at gmail.com
Mon Jul 19 06:16:39 CEST 2010
On Sun, Jul 18, 2010 at 6:11 AM, georg.brandl
<python-checkins at python.org> wrote:
..
> + documentation (the docstring of the :mod:`pdb` module); if the environment
> + variable :envvar:`PAGER` is defined, the string is piped through that command
> + instead. ..
..
> + import pydoc
> + pydoc.pager(__doc__)
pydoc.pager() is a bit more sophisticated than the pdb documentation
suggests. BTW, pydoc.pager docstring look like a code comment
mechanically converted to a docstring.
More information about the Python-checkins
mailing list