def METHOD_NAME(
    app, what, name, obj, options, signature, return_annotation
):
    if signature:
        signature = re.sub(r"=[\w'\-\.]+", "", signature)
    return (signature, return_annotation)