summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/newtypes.rst
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/c-api/newtypes.rst
parent666bb419cb28b799794350abdc9d5a15e1dfc5dc (diff)
downloadcpython-30d1c51ac97a93f68015a0c646bd130140b69a98.zip
cpython-30d1c51ac97a93f68015a0c646bd130140b69a98.tar.gz
cpython-30d1c51ac97a93f68015a0c646bd130140b69a98.tar.bz2
Remove _PyObject_Del
Diffstat (limited to 'Doc/c-api/newtypes.rst')
-rw-r--r--Doc/c-api/newtypes.rst5
1 files changed, 1 insertions, 4 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