def html_for_modules_method(method_name, *args, **kwargs):
method = getattr(modules, method_name)<EOL>value = method(*args, **kwargs)<EOL>return KEY_VALUE_TEMPLATE.format(method_name, value)<EOL>
Returns an HTML snippet for a Modules API method.

    Args:
        method_name: A string containing a Modules API method.
        args: Positional arguments to be passed to the method.
        kwargs: Keyword arguments to be passed to the method.

    Returns:
        String HTML representing the Modules API method and value.