From 02319111248dc4022a3d8598c41bfd51e7983c03 Mon Sep 17 00:00:00 2001 From: Irit Katriel Date: Mon, 17 Jan 2022 14:51:25 +0000 Subject: [PATCH] bpo-22039: [doc] clarify that there are no plans to disable deleting an attribute via PyObject_SetAttr --- Doc/c-api/object.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Doc/c-api/object.rst b/Doc/c-api/object.rst index 17e37077994968..41a3affcf9842a 100644 --- a/Doc/c-api/object.rst +++ b/Doc/c-api/object.rst @@ -81,8 +81,9 @@ Object Protocol return ``0`` on success. This is the equivalent of the Python statement ``o.attr_name = v``. - If *v* is ``NULL``, the attribute is deleted, however this feature is - deprecated in favour of using :c:func:`PyObject_DelAttr`. + If *v* is ``NULL``, the attribute is deleted. This behaviour is deprecated + in favour of using :c:func:`PyObject_DelAttr`, but there are currently no + plans to remove it. .. c:function:: int PyObject_SetAttrString(PyObject *o, const char *attr_name, PyObject *v)