pub unsafe fn PyDateTime_GET_YEAR(o: *mut PyObject) -> i32
Retrieve the year component of a PyDateTime_Date or PyDateTime_DateTime. Returns a signed integer greater than 0.
PyDateTime_Date
PyDateTime_DateTime