Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Doc/c-api/typeobj.rst
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ and :c:type:`PyType_Type` effectively act as defaults.)

The signature is the same as for :c:func:`PyObject_SetAttr`::

PyObject *tp_setattro(PyObject *self, PyObject *attr, PyObject *value);
int tp_setattro(PyObject *self, PyObject *attr, PyObject *value);

In addition, setting *value* to ``NULL`` to delete an attribute must be
supported. It is usually convenient to set this field to
Expand Down