human
I wrote the below code

    def wrapper(context, builder, sig, args):
        pair_type = sig.return_type
        pairobj = context.make_helper(builder, pair_type)
        func(context, builder, sig, args, _IternextResult(context, builder, pairobj))
        return impl_ret_borrowed(context, builder, pair_type, pairobj._getvalue())
    return wrapper

What's a good function header?

=====
Here's a good function header?
assistant
#Here's a good function header.

def iternext_impl(func):