This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: pydoc render_doc
Type: Stage:
Components: Library (Lib) Versions: Python 2.5
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: gangesmaster, georg.brandl
Priority: normal Keywords: patch

Created on 2006-07-28 15:52 by gangesmaster, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
pydoc.diff gangesmaster, 2006-07-28 15:52 diff patch
Messages (2)
msg50780 - (view) Author: ganges master (gangesmaster) Date: 2006-07-28 15:52
a patch for improving pydoc's inner working.
instead of doc() doing both the text rendering
and sending it to the pager, introduce a new
function, render_doc(), that renders the text.

doc() now calls render_doc() and sends the text
to the pager.

this allows external programs to generate a 
"text only" version of the documentation, without
having to read it from stdout. 

reference:
http://mail.python.org/pipermail/python-dev/2006-July/067776.html

the patch is against revision 50881:
http://svn.python.org/view/python/trunk/Lib/pydoc.py?rev=50881&view=markup
msg50781 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-03-13 20:03
Committed in rev. 54352.
History
Date User Action Args
2022-04-11 14:56:19adminsetgithub: 43740
2006-07-28 15:52:12gangesmastercreate