We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 138e7bb commit 4e205b7Copy full SHA for 4e205b7
Doc/c-api/typeobj.rst
@@ -955,7 +955,7 @@ and :c:type:`PyType_Type` effectively act as defaults.)
955
956
The signature is the same as for :c:func:`PyObject_SetAttr`::
957
958
- PyObject *tp_setattro(PyObject *self, PyObject *attr, PyObject *value);
+ int tp_setattro(PyObject *self, PyObject *attr, PyObject *value);
959
960
In addition, setting *value* to ``NULL`` to delete an attribute must be
961
supported. It is usually convenient to set this field to
0 commit comments