[IPython-dev] custom help() function

Fernando.Perez at colorado.edu Fernando.Perez at colorado.edu
Mon Jun 6 10:19:34 EDT 2005

Quoting Frédéric Mantegazza <mantegazza at ill.fr>:

> Hello Fernando,
> Is there a way to set a custom hook on the help() function, as it can be
> done with the '?' syntax ?

Well, you could just write your own help() which checks for special objects and
does something funky with them, and otherwise delegates to the native help
(which lives in pydoc, by the way).  I don't think pydoc.help() has
customization capabilities, but I'm not 100% sure.



More information about the IPython-dev mailing list