From: Fred Drake Date: Fri, 12 Apr 2002 18:28:08 +0000 (+0000) Subject: Change the type of the tp_dealloc back to what it really is. X-Git-Tag: v2.3c1~6000 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=292da58a5c2cc34c6e15907017079f93c77deb5f;p=thirdparty%2FPython%2Fcpython.git Change the type of the tp_dealloc back to what it really is. Change a section title to fit in better. --- diff --git a/Doc/ext/newtypes.tex b/Doc/ext/newtypes.tex index 89f95be26932..3e246f75df50 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