mirror of
https://github.com/python/cpython.git
synced 2025-10-28 01:00:34 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue