diff options
author | Jim Fulton <jim@zope.com> | 2003-05-08 10:32:10 (GMT) |
---|---|---|
committer | Jim Fulton <jim@zope.com> | 2003-05-08 10:32:10 (GMT) |
commit | 83cedcf66068b64c877a041f206dcd035dbeb346 (patch) | |
tree | 598223a4a890e39e2396d587ebb3fbd00c6bd0e6 /Doc/ext | |
parent | 362310df818d7673055e1d9fb6fdd29aae1950a3 (diff) | |
download | cpython-83cedcf66068b64c877a041f206dcd035dbeb346.zip cpython-83cedcf66068b64c877a041f206dcd035dbeb346.tar.gz cpython-83cedcf66068b64c877a041f206dcd035dbeb346.tar.bz2 |
Fixed a typo in an example dealloc routine that calls it's "self"
argument "obj" rather than "self".
Diffstat (limited to 'Doc/ext')
-rw-r--r-- | Doc/ext/newtypes.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/ext/newtypes.tex b/Doc/ext/newtypes.tex index 3948993..cfc76b8 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} |