py_int_to_i32

Function py_int_to_i32 

Source
pub fn py_int_to_i32(obj: &Bound<'_, PyAny>) -> PyResult<i32>
Expand description

Convert Python int to Rust i32