pub fn call_python(py: Python<'_>, callback: &Py<PyAny>, py_obj: Py<PyAny>)
Calls a Python callback with a single argument, logging any errors.