pyo3::types::datetime

Function PyTZInfo_Check

Source
unsafe fn PyTZInfo_Check(op: *mut PyObject) -> c_int
Available on non-Py_LIMITED_API only.
Expand description

Check if op is a PyDateTimeAPI.TZInfoType or subtype.

§Safety

Must only be called while the GIL is held

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