[Cython] autodoc function/method signatures
Lisandro Dalcin
dalcinl at gmail.com
Tue Sep 2 21:47:59 CEST 2008
On Tue, Sep 2, 2008 at 1:25 PM, Stefan Behnel <stefan_ml at behnel.de> wrote:
> Hi,
>
> Lisandro Dalcin wrote:
>> Would it be possible to tell Cython/Pyrex to add a line in docstings
>> with function/method signatures?
>
> I bet you're asking because of epydoc & friends.
Not only those!. If you use IPython, or even built-in help(), you
cannot get the signature.
> I thought about that, too, a
> while ago, but never got around to actually doing it. Mainly because it wasn't
> obvious to me at the time how to recover the signature as a string that is
> parsable by epydoc. A compiler option to enable this would be nice.
Yes, really nice, but I cannot help here :-(
> Stefan
> _______________________________________________
> Cython-dev mailing list
> Cython-dev at codespeak.net
> http://codespeak.net/mailman/listinfo/cython-dev
>
--
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594
More information about the Cython-dev
mailing list