commit | bc62af1bbe118aa678cb6fa4ecad40f7250b56de | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Wed Apr 06 09:51:18 2016 +0300 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Wed Apr 06 09:51:18 2016 +0300 |
tree | 785d2ad869c2c1d058bbfdc6e9af7fb7278b9d73 | |
parent | aad86a6015f8d4e1e4faea07e1400152f5843443 [diff] [blame] |
Issue #22570: Renamed Py_SETREF to Py_XSETREF.
diff --git a/Objects/descrobject.c b/Objects/descrobject.c index c7271ef..8d6e6e3 100644 --- a/Objects/descrobject.c +++ b/Objects/descrobject.c
@@ -1332,7 +1332,7 @@ PyObject *get_doc = PyObject_GetAttrString(get, "__doc__"); if (get_doc) { if (Py_TYPE(self) == &PyProperty_Type) { - Py_SETREF(prop->prop_doc, get_doc); + Py_XSETREF(prop->prop_doc, get_doc); } else { /* If this is a property subclass, put __doc__