pub fn extract_binary_operands<L, R>(
ob: &Bound<'_, PyAny>,
left_attr: &str,
right_attr: &str,
context: &str,
) -> PyResult<(L, R)>where
L: for<'a> FromPyObject<'a>,
R: for<'a> FromPyObject<'a>,
Expand description
Generic function for extracting operands from binary operations.