pyo3_ffi

Function PyDateTime_DATE_GET_TZINFO

Source
pub unsafe fn PyDateTime_DATE_GET_TZINFO(o: *mut PyObject) -> *mut PyObject
Available on non-Py_LIMITED_API and neither PyPy nor GraalPy only.
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.