]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
data descriptors do not override the class dictionary if __get__ is not defined
authorBenjamin Peterson <benjamin@python.org>
Mon, 18 Jan 2010 23:07:56 +0000 (23:07 +0000)
committerBenjamin Peterson <benjamin@python.org>
Mon, 18 Jan 2010 23:07:56 +0000 (23:07 +0000)
commit9179dab3f4d5552e756c221830f7174cb9218b64
treed04cf3783c93eb36433ada5f6a549157667d5458
parentc07336c673a811afe3d675ffa257489ee86613ee
data descriptors do not override the class dictionary if __get__ is not defined

Adjust documentation and add a test to verify this behavior.

See http://mail.python.org/pipermail/python-dev/2010-January/095637.html for
discussion.
Doc/reference/datamodel.rst
Lib/test/test_descr.py