Skip to content

Commit 7cc691d

Browse files
committed
Add versionchanged
1 parent a8d21f6 commit 7cc691d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Doc/c-api/object.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,9 @@ Object Protocol
201201
This case can arise from forgetting ``NULL`` checks and would delete the
202202
attribute.
203203
204+
.. versionchanged:: next
205+
Raise an exception if called with ``NULL`` *v* and an an exception set.
206+
204207
205208
.. c:function:: int PyObject_SetAttrString(PyObject *o, const char *attr_name, PyObject *v)
206209
@@ -223,6 +226,9 @@ Object Protocol
223226
For more details, see :c:func:`PyUnicode_InternFromString`, which may be
224227
used internally to create a key object.
225228
229+
.. versionchanged:: next
230+
Raise an exception if called with ``NULL`` *v* and an an exception set.
231+
226232
.. c:function:: int PyObject_GenericSetAttr(PyObject *o, PyObject *name, PyObject *value)
227233
228234
Generic attribute setter and deleter function that is meant

0 commit comments

Comments
 (0)