pyo3::types::datetime

Function opt_to_pyobj

Source
fn opt_to_pyobj(opt: Option<&Bound<'_, PyTzInfo>>) -> *mut PyObject
Available on non-Py_LIMITED_API only.
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here