fn get_pyfn_attr(attrs: &mut Vec<Attribute>) -> Result<Option<(Span, PyFnArgs)>>
Extracts the data from the #[pyfn(…)] attribute of a function