From 292da58a5c2cc34c6e15907017079f93c77deb5f Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 12 Apr 2002 18:28:08 +0000 Subject: Change the type of the tp_dealloc back to what it really is. Change a section title to fit in better. --- Doc/ext/newtypes.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/ext/newtypes.tex b/Doc/ext/newtypes.tex index 89f95be..3e246f7 100644 --- a/Doc/ext/newtypes.tex +++ b/Doc/ext/newtypes.tex @@ -347,7 +347,7 @@ will implement. \index{finalization, of objects} \begin{verbatim} - freefunc tp_dealloc; + destructor tp_dealloc; \end{verbatim} This function is called when the reference count of the instance of @@ -918,7 +918,7 @@ avoiding the exception can yield slightly better performance. If an actual error occurs, it should set an exception and return \NULL. -\subsection{Cycle Collector Support +\subsection{Supporting the Cycle Collector \label{example-cycle-support}} This example shows only enough of the implementation of an extension -- cgit v0.12