[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to get docstring of a function ?
From: |
Ben Abbott |
Subject: |
Re: How to get docstring of a function ? |
Date: |
Wed, 12 May 2010 08:14:09 -0400 |
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.
Ben
- 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 <=
- Re: How to get docstring of a function ?, Søren Hauberg, 2010/05/12
- 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