[IPython-User] pdoc without header
Thomas Kluyver
takowl@gmail....
Mon Nov 28 05:01:20 CST 2011
On 28 November 2011 10:50, Tiago Coutinho <coutinhotiago@gmail.com> wrote:
>
> Is there any way to remove the header or configure which parts of the
> header to show?
> I was browsing through the 0.11 code for pdoc but could not find a easy
> way to do it besides rewriting pdoc.
>
Note that it's pinfo which prints all that out, not pdoc.
I don't think it's configurable, but I think the simplest thing is to
transform "ascan?" to "pdoc ascan" rather than "pinfo ascan". Have a look
at the code here:
https://github.com/ipython/ipython/blob/master/IPython/core/inputsplitter.py#L554
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20111128/6e8a32da/attachment.html
More information about the IPython-User
mailing list