mirror of https://github.com/python/cpython
Fixed a typo in an example dealloc routine that calls it's "self"
argument "obj" rather than "self".
This commit is contained in:
parent
362310df81
commit
83cedcf660
|
@ -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}
|
||||
|
||||
|
|
Loading…
Reference in New Issue