Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 83cedcf

Browse files
author
Jim Fulton
committed
Fixed a typo in an example dealloc routine that calls it's "self"
argument "obj" rather than "self".
1 parent 362310d commit 83cedcf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/ext/newtypes.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ \subsection{Finalization and De-allocation}
749749
newdatatype_dealloc(newdatatypeobject * obj)
750750
{
751751
free(obj->obj_UnderlyingDatatypePtr);
752-
obj->ob_type->tp_free(self);
752+
obj->ob_type->tp_free(obj);
753753
}
754754
\end{verbatim}
755755

0 commit comments

Comments
 (0)