pyo3::ffi::compat

Function Py_XNewRef

Source
pub unsafe fn Py_XNewRef(obj: *mut PyObject) -> *mut PyObject
Available on docsrs or non-Py_3_10 only.
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here