summaryrefslogtreecommitdiffstats
path: root/Doc/ext
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-04-12 19:49:13 (GMT)
committerFred Drake <fdrake@acm.org>2002-04-12 19:49:13 (GMT)
commitfd92304ae8eb900645660543b06310b3aa84b639 (patch)
tree7a0123b94de5e27efdbbd228a9d2888a5dc65bc7 /Doc/ext
parentf495ef7466e1955206d792d6c8e215d98bbc3db0 (diff)
downloadcpython-fd92304ae8eb900645660543b06310b3aa84b639.zip
cpython-fd92304ae8eb900645660543b06310b3aa84b639.tar.gz
cpython-fd92304ae8eb900645660543b06310b3aa84b639.tar.bz2
Update the type of the tp_free slot.
Diffstat (limited to 'Doc/ext')
-rw-r--r--Doc/ext/typestruct.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/ext/typestruct.h b/Doc/ext/typestruct.h
index 85ce049..0afe375 100644
--- a/Doc/ext/typestruct.h
+++ b/Doc/ext/typestruct.h
@@ -65,7 +65,7 @@ typedef struct _typeobject {
initproc tp_init;
allocfunc tp_alloc;
newfunc tp_new;
- destructor tp_free; /* Low-level free-memory routine */
+ freefunc tp_free; /* Low-level free-memory routine */
inquiry tp_is_gc; /* For PyObject_IS_GC */
PyObject *tp_bases;
PyObject *tp_mro; /* method resolution order */