pub fn process_functions_in_module(func: &mut ItemFn) -> Result<()>
Finds and takes care of the #[pyfn(…)] in #[pymodule]
#[pymodule]