diff --git a/Doc/ext/newtypes.tex b/Doc/ext/newtypes.tex index 3948993f4f3..cfc76b89aea 100644 --- a/Doc/ext/newtypes.tex +++ b/Doc/ext/newtypes.tex @@ -749,7 +749,7 @@ static void newdatatype_dealloc(newdatatypeobject * obj) { free(obj->obj_UnderlyingDatatypePtr); - obj->ob_type->tp_free(self); + obj->ob_type->tp_free(obj); } \end{verbatim}