On Thu, 02 Sep 2010 19:02:35 +0200 Peter Otten <__pete...@web.de> wrote: > You could try to monkey-patch pydoc:
I suppose so. Not a comfortable solution of course. It's bad enough when you get too familiar with the internals of a module but even worse when you need to get familiar with the internals of modules imported by a module. I'll give it a shot though. > import pydoc > def cram(text, maxlen): > return text > pydoc.cram = cram Or... import pydoc pydoc.cram = lambda text,maxlen: text Thanks. -- D'Arcy J.M. Cain <da...@druid.net> | Democracy is three wolves http://www.druid.net/darcy/ | and a sheep voting on +1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner. -- http://mail.python.org/mailman/listinfo/python-list