]> granicus.if.org Git - python/commitdiff
Fixed a typo in an example dealloc routine that calls it's "self"
authorJim Fulton <jim@zope.com>
Thu, 8 May 2003 10:32:10 +0000 (10:32 +0000)
committerJim Fulton <jim@zope.com>
Thu, 8 May 2003 10:32:10 +0000 (10:32 +0000)
argument "obj" rather than "self".

Doc/ext/newtypes.tex

index 3948993f4f3294bc751e30d07dbec0e00d2c6080..cfc76b89aea467fea71c61c6aa770c86fd6090fb 100644 (file)
@@ -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}