[IPython-dev] Docstrings for magic functions
Sun Jun 19 16:14:34 CDT 2011
Thanks Thomas for the tip. I will implement an alias to pinfo.
Le dimanche 19 juin 2011 à 19:02 +0100, Thomas Kluyver a écrit :
> On 19 June 2011 17:09, Arnaud Gardelein <firstname.lastname@example.org> wrote:
> I'm Arnaud, new to this mailing list but using ipython since a
> more than a year now. I really like IPython features and
> decided to
> write an application on top of it, oscopy, a kind of
> oscilloscope to
> view electrical simulation results (oscopy.org).
> It consist of a framework and an application that use heavily
> functions to facilitate the access to framework functions. I
> documented those functions with docstrings, that can be
> displayed by
> typing %magic_name?, for the user it would be simpler to use
> magic_name'. For instance I have tried to do 'help lsmagic'
> but of
> course lsmagic is not defined in global scope.
> Is there a way have this working ?
> Hi Arnaud,
> You can already call 'pinfo lsmagic', which works as you'd describe.
> pinfo is short for print information. If magic calls are very
> important to your application, it should be possible for you to make
> 'help' an alias for pinfo. Then again, I prefer to type 'lsmagic?'
> rather than 'help lsmagic'.
More information about the IPython-dev