diff options
-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 00cda3c..cbc43ac 100644 --- a/Objects/descrobject.c +++ b/Objects/descrobject.c @@ -1282,7 +1282,7 @@ property_init(PyObject *self, PyObject *args, PyObject *kwds) PyObject *get_doc = PyObject_GetAttrString(get, "__doc__"); if (get_doc != NULL) { /* get_doc already INCREF'd by GetAttr */ - if (Py_TYPE(self)==&PyProperty_Type) { + if (Py_TYPE(self) == &PyProperty_Type) { Py_XDECREF(prop->prop_doc); prop->prop_doc = get_doc; } else { |