Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6870bba commit 8f6df46Copy full SHA for 8f6df46
1 file changed
Doc/api/api.tex
@@ -5029,6 +5029,11 @@ \section{Supporting Cyclic Garbarge Collection
5029
objects. The deallocator (\member{tp_dealloc} handler) should call
5030
this for the object before any of the fields used by the
5031
\member{tp_traverse} handler become invalid.
5032
+
5033
+ \strong{Note:} Any container which may be referenced from another
5034
+ object reachable by the collector must itself be tracked by the
5035
+ collector, so it is generally not safe to call this function
5036
+ anywhere but in the object's deallocator.
5037
\end{cfuncdesc}
5038
5039
The \member{tp_traverse} handler accepts a function parameter of this
0 commit comments