pub fn build_py_methods(ast: &mut ItemImpl) -> TokenStream