mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +00:00
Change the type of the tp_dealloc back to what it really is.
Change a section title to fit in better.
This commit is contained in:
parent
9701732782
commit
292da58a5c
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue