[issue7186] Document specialness of __doc__, and possibly other "special" attributes

steve steiner report at bugs.python.org
Thu Oct 22 21:47:35 CEST 2009


New submission from steve steiner <ssteiner at users.sourceforge.net>:

Around the time of the 2.6.4 release, it was suggested that Python 2.6.3
changed the __doc__ attribute to read-only.  See:
http://bugs.python.org/issue7183

When asked whether this read-only behaviour was intentional, Guido
answered, simply "Yes" and also wrote:

On Oct 22, 2009, at 1:58 PM, Guido van Rossum wrote:

Well __doc__ isn't a normal attribute -- it doesn't follow inheritance
rules.

I suggested that it might be helpful to document this "special"
behaviour and also any other attributes that are "special" though which
ones they might be are unknown at this time.

----------
assignee: georg.brandl
components: Documentation
messages: 94369
nosy: georg.brandl, ssteiner
severity: normal
status: open
title: Document specialness of __doc__, and possibly other "special" attributes

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7186>
_______________________________________


More information about the Python-bugs-list mailing list