This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients docs@python, martin.panter
Date 2017-01-12.12:04:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484222660.7.0.65822313324.issue29251@psf.upfronthosting.co.za>
In-reply-to
Content
The __dict__ attribute of class objects is documented as being a (standard) dictionary, but implemented with a proxy object. I propose to clarify the documentation in “Custom classes” under <https://docs.python.org/3.5/reference/datamodel.html#the-standard-type-hierarchy>, and in <https://docs.python.org/3.5/library/functions.html#type>.

I believe my changes are also applicable to Python 2, as long as I point out the proxy is specific to “new-style” classes.
History
Date User Action Args
2017-01-12 12:04:20martin.pantersetrecipients: + martin.panter, docs@python
2017-01-12 12:04:20martin.pantersetmessageid: <1484222660.7.0.65822313324.issue29251@psf.upfronthosting.co.za>
2017-01-12 12:04:20martin.panterlinkissue29251 messages
2017-01-12 12:04:20martin.pantercreate