]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Typo in tp_clear docs.
authorGeorg Brandl <georg@python.org>
Fri, 18 Aug 2006 07:35:50 +0000 (07:35 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 18 Aug 2006 07:35:50 +0000 (07:35 +0000)
 (backport from rev. 51368)

Doc/api/newtypes.tex

index 577d26aa1e2f5ad57aee3162a821f12bca1f9f9c..4c87d3344d92f103deec4082081a265352676337 100644 (file)
@@ -916,7 +916,7 @@ The following three fields only exist if the
   set.  More information in section
   \ref{supporting-cycle-detection} about garbage collection.
 
-  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