summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-08-19 22:48:23 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-08-19 22:48:23 (GMT)
commit30d1c51ac97a93f68015a0c646bd130140b69a98 (patch)
tree9e47d4b382382a75c74ea85c1e1325216678a7c0 /Doc
parent666bb419cb28b799794350abdc9d5a15e1dfc5dc (diff)
downloadcpython-30d1c51ac97a93f68015a0c646bd130140b69a98.zip
cpython-30d1c51ac97a93f68015a0c646bd130140b69a98.tar.gz
cpython-30d1c51ac97a93f68015a0c646bd130140b69a98.tar.bz2
Remove _PyObject_Del
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: