default unsafe fn drop(py: Python, obj: *mut ffi::PyObject) {
        if T::OFFSET != 0 {
            let ptr = (obj as *mut u8).offset(T::OFFSET) as *mut T;
            std::ptr::drop_in_place(ptr);

            T::BaseType::drop(py, obj);
        }
    }
/// Calls the rust destructor for the object.
Calls the rust destructor for the object.
Calls the rust destructor for the object .
default unsafe fn drop(py: Python, obj: *mut ffi::PyObject) {
        if T::OFFSET != 0 {
            let ptr = (obj as *mut u8).offset(T::OFFSET) as *mut T;
            std::ptr::drop_in_place(ptr);
            T::BaseType::drop(py, obj);
        }
    }
default unsafe fn drop ( py : Python , obj : * mut ffi :: PyObject ) { if T :: OFFSET != 0 { let ptr = ( obj as * mut u8 ) . offset ( T :: OFFSET ) as * mut T ; std :: ptr :: drop_in_place ( ptr ) ; T :: BaseType :: drop ( py , obj ) ; } }
Calls the rust destructor for the object.
Calls the rust destructor for the object .
py
Python
obj
*mut ffi::PyObject
py
Python
obj
*mut ffi::PyObject