summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/newtypes.rst5
-rw-r--r--Doc/data/refcounts.dat3
2 files changed, 1 insertions, 7 deletions
diff --git a/Doc/c-api/newtypes.rst b/Doc/c-api/newtypes.rst
index 5933f99..f8694bf 100644
--- a/Doc/c-api/newtypes.rst
+++ b/Doc/c-api/newtypes.rst
@@ -23,9 +23,6 @@ Allocating Objects on the Heap
.. cfunction:: PyVarObject* _PyObject_NewVar(PyTypeObject *type, Py_ssize_t size)
-.. cfunction:: void _PyObject_Del(PyObject *op)
-
-
.. cfunction:: PyObject* PyObject_Init(PyObject *op, PyTypeObject *type)
Initialize a newly-allocated object *op* with its type and initial reference.
@@ -1331,7 +1328,7 @@ The next fields, up to and including :attr:`tp_weaklist`, only exist if the
void tp_free(void *)
- The only initializer that is compatible with both versions is ``_PyObject_Del``,
+ The only initializer that is compatible with both versions is ``PyObject_Free``,
whose definition has suitably adapted in Python 2.3.
This field is inherited by static subtypes, but not by dynamic subtypes
diff --git a/Doc/data/refcounts.dat b/Doc/data/refcounts.dat
index 5cb0b7a..4555301 100644
--- a/Doc/data/refcounts.dat
+++ b/Doc/data/refcounts.dat
@@ -1705,9 +1705,6 @@ _PyImport_FixupExtension:char*:::
_PyImport_Init:void:::
-_PyObject_Del:void:::
-_PyObject_Del:PyObject*:op:0:
-
_PyObject_New:PyObject*::+1:
_PyObject_New:PyTypeObject*:type:0: