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 b7774ae commit bb1a94fCopy full SHA for bb1a94f
Doc/c-api/allocation.rst
@@ -84,10 +84,6 @@ Allocating Objects on the Heap
84
* :c:func:`PyType_GenericAlloc`
85
* :c:member:`~PyTypeObject.tp_alloc`
86
87
- Note that this function is unsuitable if *typeobj* has
88
- :c:macro:`Py_TPFLAGS_HAVE_GC` set. For such objects,
89
- use :c:func:`PyObject_GC_New` instead.
90
-
91
92
.. c:macro:: PyObject_NewVar(TYPE, typeobj, size)
93
@@ -138,10 +134,6 @@ Allocating Objects on the Heap
138
134
139
135
140
136
141
142
143
- use :c:func:`PyObject_GC_NewVar` instead.
144
145
137
146
.. c:function:: void PyObject_Del(void *op)
147
0 commit comments