Docstrings and class Attributes

Eric Snow ericsnowcurrently at gmail.com
Mon Aug 8 15:24:11 EDT 2011


On Mon, Aug 8, 2011 at 1:05 PM, Steven D'Aprano
<steve+comp.lang.python at pearwood.info> wrote:
> Ethan Furman wrote:
>
>> So if property docstrings are so hard to get to, what's the point in
>> having them?
>
> Hard to get, not impossible. But I have no idea really -- they don't seem
> very useful to me.

They do show up in help(), but not as some sort of data-attribute docstring.

-eric

>
>
>
> --
> Steven
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>



More information about the Python-list mailing list