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.
PyObject_Init
1 parent 3d4fda2 commit 407c036Copy full SHA for 407c036
Doc/c-api/allocation.rst
@@ -15,10 +15,8 @@ Allocating Objects on the Heap
15
.. c:function:: PyObject* PyObject_Init(PyObject *op, PyTypeObject *type)
16
17
Initialize a newly allocated object *op* with its type and initial
18
- reference. Returns the initialized object. If *type* indicates that the
19
- object participates in the cyclic garbage detector, it is added to the
20
- detector's set of observed objects. Other fields of the object are not
21
- affected.
+ reference. Returns the initialized object. Other fields of the object are
+ not affected.
22
23
24
.. c:function:: PyVarObject* PyObject_InitVar(PyVarObject *op, PyTypeObject *type, Py_ssize_t size)
0 commit comments