]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-22039: [doc] clarify that there are no plans to disable deleting an attribute...
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>
Wed, 19 Jan 2022 12:03:51 +0000 (12:03 +0000)
committerGitHub <noreply@github.com>
Wed, 19 Jan 2022 12:03:51 +0000 (12:03 +0000)
Doc/c-api/object.rst

index 17e3707799496872076a16986a10920baed16270..41a3affcf9842aed596909a37417cd3871e5cd77 100644 (file)
@@ -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)