def METHOD_NAME(cls, function_name, function_index=0):
    """Return the :class:`FunctionInfo` object of a member function.
    :param str cls: See :func:`get_class_info`.
    :param str function_name: The name of the member function on the C++ side.
    :param int function_index: The index of the member function in the
        function info list. This is only required if the function is
        overloaded and you want to get a different FunctionInfo object than
        the first one.
    :raise ValueError: See :func:`get_class_name`.
    """
    return get_class_info(cls)[function_name][function_index]