I have a Rust library using PyO3, and one of my functions looks like this:
#[pyfunction] pub fn my_func<\'a>(py: Py