public interface TraverseprocDerived
Traverseproc
,
but traverses only the slots[]
-array of
fooDerived
-classes. This way we avoid that the traverse
method of a traversable PyObject
is
overwritten by the derived version.
gc.traverse(PyObject, Visitproc, Object)
takes care of
exploiting both traverse methods.Modifier and Type | Method and Description |
---|---|
int |
traverseDerived(Visitproc visit,
Object arg)
Traverses all reachable
PyObject s. |