summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-08-18 07:35:53 +0000
committerGeorg Brandl <georg@python.org>2006-08-18 07:35:53 +0000
commit1e8feed2932cc1e6e820772bde57d42454780da3 (patch)
treebee030d4ba84b47b65818dcf203b7e63a688998b
parent595d9b6bc661e8609712593a0cb8692f7e9dcd59 (diff)
downloadcpython-git-1e8feed2932cc1e6e820772bde57d42454780da3.tar.gz
Typo in tp_clear docs.
(backport from rev. 51368)
-rw-r--r--Doc/api/newtypes.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/api/newtypes.tex b/Doc/api/newtypes.tex
index 04f67953fa..43d2f8839a 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