Docstrings and class Attributes

Steven D'Aprano steve+comp.lang.python at
Wed Aug 10 19:37:06 EDT 2011

John Pinner wrote:

> On Aug 9, 1:36 am, Ben Finney <ben+pyt... at> wrote:
>> Ethan Furman <et... at> writes:
>> > So if property docstrings are so hard to get to, what's the point in
>> > having them?
>> Why would you expect there be a special point to them?
>> Men, like all primates of any sex, have nipples.
>> Properties, like any function in Python, have docstrings.
> So are you saying that men's nipples are pointless?
> You could be correct, except in cold weather maybe.


However, off-topic but interesting, there is at least one species of bat
where the males are known to routinely lactate and feed baby bats.

So just because a feature is an accident of history, doesn't mean that a use
can't be found for it.


More information about the Python-list mailing list