summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-04-12 18:28:08 (GMT)
committerFred Drake <fdrake@acm.org>2002-04-12 18:28:08 (GMT)
commit292da58a5c2cc34c6e15907017079f93c77deb5f (patch)
treef11e783e2306d06bf9e513f5fb4f0f5f9626b94c
parent970173278229166d1e13e654cba7193a04d0ea78 (diff)
downloadcpython-292da58a5c2cc34c6e15907017079f93c77deb5f.zip
cpython-292da58a5c2cc34c6e15907017079f93c77deb5f.tar.gz
cpython-292da58a5c2cc34c6e15907017079f93c77deb5f.tar.bz2
Change the type of the tp_dealloc back to what it really is.
Change a section title to fit in better.
-rw-r--r--Doc/ext/newtypes.tex4
1 files 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