[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to get docstring of a function ?
From: |
Søren Hauberg |
Subject: |
Re: How to get docstring of a function ? |
Date: |
Wed, 12 May 2010 07:18:21 -0700 |
ons, 12 05 2010 kl. 08:14 -0400, skrev Ben Abbott:
> On May 12, 2010, at 8:12 AM, Jordi Gutiérrez Hermoso wrote:
>
> > 2010/5/11 Søren Hauberg <address@hidden>:
> >> tir, 11 05 2010 kl. 14:26 -0500, skrev Jordi Gutiérrez Hermoso:
> >>> 2010/5/11 Søren Hauberg <address@hidden>:
> >>>
> >>>> Looking at your patch (I haven't tried it), I get the impression that
> >>>>
> >>>> a = help ("some_function");
> >>>>
> >>>> will return the docstring, but also display it.
> >>>
> >>> No, did you see the context? printf is actually used for displaying
> >>> the docstring.
> >>
> >> I'm confused now.
> >
> > No, I was confused. I misunderstood what you meant. Reading Ben's
> > patch, that looks like the right one.
>
> Jordi/others,
>
> Shall I push it.
Looks good to me.
Søren
- How to get docstring of a function ?, Pablo Winant, 2010/05/10
- Re: How to get docstring of a function ?, Jordi Gutiérrez Hermoso, 2010/05/11
- Re: How to get docstring of a function ?, Ben Abbott, 2010/05/11
- Re: How to get docstring of a function ?, Jordi Gutiérrez Hermoso, 2010/05/11
- Re: How to get docstring of a function ?, Søren Hauberg, 2010/05/11
- Re: How to get docstring of a function ?, Jordi Gutiérrez Hermoso, 2010/05/11
- Re: How to get docstring of a function ?, Søren Hauberg, 2010/05/12
- Re: How to get docstring of a function ?, Jordi Gutiérrez Hermoso, 2010/05/12
- Re: How to get docstring of a function ?, Ben Abbott, 2010/05/12
- Re: How to get docstring of a function ?,
Søren Hauberg <=
- Re: How to get docstring of a function ?, Ben Abbott, 2010/05/12
- Re: How to get docstring of a function ?, John W. Eaton, 2010/05/13
- Re: How to get docstring of a function ?, Ben Abbott, 2010/05/12