diff options
author | Raymond Hettinger <python@rcn.com> | 2015-05-13 08:09:59 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2015-05-13 08:09:59 (GMT) |
commit | eac503aeac6fedc81001b9e1136957d45b9a2c51 (patch) | |
tree | 9b39bdd76843421487a78e56b2eb50c548e47d04 /Objects/descrobject.c | |
parent | f2244eaf9e3148d6270839e9aa7c2ad9752c17ed (diff) | |
download | cpython-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.c | 2 |
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} }; |