Skip to main content

synthesized_traverse

Function synthesized_traverse 

Source
pub unsafe extern "C" fn synthesized_traverse<T>(
    slf: *mut PyObject,
    visit: visitproc,
    arg: *mut c_void,
) -> c_int
where T: PyClass,
Expand description

tp_traverse for a #[pyclass] which defines no __traverse__ of its own: visits the base type and the instance __dict__ (if it is a #[pyclass(dict)]).

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here