]> granicus.if.org Git - python/commitdiff
Typo in tp_clear docs.
authorGeorg Brandl <georg@python.org>
Fri, 18 Aug 2006 07:35:53 +0000 (07:35 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 18 Aug 2006 07:35:53 +0000 (07:35 +0000)
 (backport from rev. 51368)

Doc/api/newtypes.tex

index 04f67953fad322b59b6b559a4a269ec42920a3a7..43d2f8839ab34086b1fb55ed1959b4925bf83e54 100644 (file)
@@ -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