[Doc-SIG] pydoc small letters. was: Ho hum - back to work...

Hernan Martinez Foffani hernan@orgmf.com.ar
Thu, 19 Apr 2001 13:08:23 +0200


>de Tony J Ibbs (Tibs):
>
>..., as pydoc does a
>reasonably decent job
>(I've been looking at the HTML it produces, and why it's too small to
>read, which is why I didn't say "excellent job"!) of presenting the
>plain text from doc strings.
>
It used to be "more" difficult to increase the font size on Ping's
pydoc HTML output. (By "more" I mean that you have to look for the
<small> tag around the code.)
In the pydoc.py that's included in 2.1 it's only a one line change
that's logically located:
the "small()" function.

On line 382 of Lib/pydoc.py change:
    def small(self, text): return '<small>%s</small>' % text
by
    def small(self, text): return text

...and you'll see the difference. :-)

Regards,
-Hernán


--
Hernán Martínez Foffani
hernan@orgmf.com.ar
http://www.orgmf.com.ar/condor/