[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to get docstring of a function ?
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: How to get docstring of a function ? |
Date: |
Wed, 12 May 2010 07:12:23 -0500 |
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.
- 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 <=
- Re: How to get docstring of a function ?, Ben Abbott, 2010/05/12
- 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