pub unsafe fn PyDateTime_TIME_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_Time
.
Returns a pointer to a PyObject
that should be either NULL or an instance
of a datetime.tzinfo
subclass.