Skip to content

Commit e0f2ede

Browse files
committed
Update doc
1 parent 12b616b commit e0f2ede

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Doc/c-api/object.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,9 @@ Object Protocol
324324
when accessing an attribute on the object.
325325
326326
.. deprecated:: 3.15
327-
Use :c:func:`PyObject_GetDict` or :c:func:`PyObject_GetAttr` instead.
327+
Use :c:func:`PyObject_GetDict`, :c:func:`PyObject_GetAttr`,
328+
:c:func:`PyObject_SetAttr` or :c:func:`PyObject_ClearManagedDict`
329+
instead.
328330
329331
330332
.. c:function:: PyObject* PyObject_RichCompare(PyObject *o1, PyObject *o2, int opid)

0 commit comments

Comments
 (0)