[Patches] [ python-Patches-1530482 ] pydoc render_doc

SourceForge.net noreply at sourceforge.net
Fri Jul 28 17:54:31 CEST 2006


Patches item #1530482, was opened at 2006-07-28 18:52
Message generated for change (Settings changed) made by gangesmaster
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1530482&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: ganges master (gangesmaster)
>Assigned to: Barry A. Warsaw (bwarsaw)
Summary: pydoc render_doc

Initial Comment:
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

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1530482&group_id=5470


More information about the Patches mailing list