script::python::rspython::utils

Function py_obj_to_value

source
pub(crate) fn py_obj_to_value(
    obj: &PyObjectRef,
    vm: &VirtualMachine,
) -> PyResult<Value>