pyo3::ffi::compat

Function Py_NewRef

Source
pub unsafe fn Py_NewRef(obj: *mut PyObject) -> *mut PyObject