Thanks to visit codestin.com Credit goes to github.com
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 1bf974d commit 1c262a6Copy full SHA for 1c262a6
1 file changed
Doc/c-api/object.rst
@@ -101,15 +101,15 @@ Object Protocol
101
This is the equivalent of the Python statement ``del o.attr_name``.
102
103
104
-.. c:function:: PyObject* PyType_GenericGetDict(PyObject *o, void *context)
+.. c:function:: PyObject* PyObject_GenericGetDict(PyObject *o, void *context)
105
106
A generic implementation for the getter of a ``__dict__`` descriptor. It
107
creates the dictionary if necessary.
108
109
.. versionadded:: 3.3
110
111
112
-.. c:function:: int PyType_GenericSetDict(PyObject *o, void *context)
+.. c:function:: int PyObject_GenericSetDict(PyObject *o, void *context)
113
114
A generic implementation for the setter of a ``__dict__`` descriptor. This
115
implementation does not allow the dictionary to be deleted.
0 commit comments