pyo3::ffi

Function PyDateTime_TIME_GET_TZINFO

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

Retrieve the tzinfo component of a PyDateTime_Time. 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