pub unsafe extern "C" fn synthesized_clear<T>(
slf: *mut PyObject,
) -> c_intwhere
T: PyClass,Expand description
tp_clear for a #[pyclass] which defines no __clear__ of its own: calls the base type
and clears the instance __dict__ (if it is a #[pyclass(dict)]).