pyo3::ffi

Function PyDateTime_DATE_GET_TZINFO

Source
pub unsafe fn PyDateTime_DATE_GET_TZINFO(o: *mut PyObject) -> *mut PyObject
Available on neither PyPy nor GraalPy.
Expand description

Retrieve the tzinfo component of a PyDateTime_DateTime. Returns a pointer to a PyObject that should be either NULL or an instance of a datetime.tzinfo subclass.

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