summaryrefslogtreecommitdiffstats
path: root/Objects/descrobject.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2015-05-13 08:09:59 (GMT)
committerRaymond Hettinger <python@rcn.com>2015-05-13 08:09:59 (GMT)
commiteac503aeac6fedc81001b9e1136957d45b9a2c51 (patch)
tree9b39bdd76843421487a78e56b2eb50c548e47d04 /Objects/descrobject.c
parentf2244eaf9e3148d6270839e9aa7c2ad9752c17ed (diff)
downloadcpython-eac503aeac6fedc81001b9e1136957d45b9a2c51.zip
cpython-eac503aeac6fedc81001b9e1136957d45b9a2c51.tar.gz
cpython-eac503aeac6fedc81001b9e1136957d45b9a2c51.tar.bz2
Issue #24064: Property() docstrings are now writeable.
(Patch by Berker Peksag.)
Diffstat (limited to 'Objects/descrobject.c')
-rw-r--r--Objects/descrobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/descrobject.c b/Objects/descrobject.c
index 822fb41..906f76d 100644
--- a/Objects/descrobject.c
+++ b/Objects/descrobject.c
@@ -1313,7 +1313,7 @@ static PyMemberDef property_members[] = {
{"fget", T_OBJECT, offsetof(propertyobject, prop_get), READONLY},
{"fset", T_OBJECT, offsetof(propertyobject, prop_set), READONLY},
{"fdel", T_OBJECT, offsetof(propertyobject, prop_del), READONLY},
- {"__doc__", T_OBJECT, offsetof(propertyobject, prop_doc), READONLY},
+ {"__doc__", T_OBJECT, offsetof(propertyobject, prop_doc), 0},
{0}
};