Code documentation tool similar to what Ruby (on Rails?) uses

Andrew Dalke dalke at dalkescientific.com
Sun Jun 12 17:07:48 EDT 2005


Ksenia Marasanova responsded to Michele Simionato
>> >>> print "<pre>%s</pre>" % inspect.getsource(os.makedirs)
> 
> That's easy, thanks! I guess I'll submit a patch for Epydoc with the
> functionality I've mentioned :)

Before doing that, add a "cgi.escape()" to the text.  Otherwise
embedded [<>&] characters will be interpreted as HTML.

				Andrew
				dalke at dalkescientific.com




More information about the Python-list mailing list