From: Georg Brandl Date: Fri, 18 Aug 2006 07:35:53 +0000 (+0000) Subject: Typo in tp_clear docs. X-Git-Tag: v2.5c2~62 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1e8feed2932cc1e6e820772bde57d42454780da3;p=thirdparty%2FPython%2Fcpython.git Typo in tp_clear docs. (backport from rev. 51368) --- diff --git a/Doc/api/newtypes.tex b/Doc/api/newtypes.tex index 04f67953fad3..43d2f8839ab3 100644 --- a/Doc/api/newtypes.tex +++ b/Doc/api/newtypes.tex @@ -979,7 +979,7 @@ The following three fields only exist if the More information about Python's garbage collection scheme can be found in section \ref{supporting-cycle-detection}. - This field is inherited by subtypes together with \member{tp_clear} + This field is inherited by subtypes together with \member{tp_traverse} and the \constant{Py_TPFLAGS_HAVE_GC} flag bit: the flag bit, \member{tp_traverse}, and \member{tp_clear} are all inherited from the base type if they are all zero in the subtype \emph{and} the