mirror of
https://github.com/python/cpython.git
synced 2026-04-28 23:00:40 +00:00
Typo in tp_clear docs.
(backport from rev. 51368)
This commit is contained in:
parent
595d9b6bc6
commit
1e8feed293
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue