pub(crate) unsafe fn dealloc(
slf: *mut PyObject,
f: for<'py> unsafe fn(Python<'py>, *mut PyObject),
)Expand description
§Safety
- slf must be either a valid ffi::PyObject or NULL
- if slf isn’t NULL it must not be used again
- The thread must be attached to the interpreter when this is called.