third_party/blink/renderer/bindings/scripts/bind_gen/codegen_format.py
def format_template(format_string, *args, **kwargs):
    """
    Formats a string like the built-in |format| allowing unbound keys.

        format_template("${template_var} {format_var}", format_var=42)
    will produce
        "${template_var} 42"
    without raising an exception that |template_var| is unbound.
    """
    return _TemplateFormatter().format(format_string, *args, **kwargs)

    Formats a string like the built-in |format| allowing unbound keys.

        format_template("${template_var} {format_var}", format_var=42)
    will produce
        "${template_var} 42"
    without raising an exception that |template_var| is unbound.
    
Formats a string like the built-in |format| allowing unbound keys.
Formats a string like the built - in |format| allowing unbound keys .
def format_template(format_string, *args, **kwargs):
    return _TemplateFormatter().format(format_string, *args, **kwargs)
def format_template ( format_string , * args , ** kwargs ) : return _TemplateFormatter ( ) . format ( format_string , * args , ** kwargs )
Formats a string like the built-in |format| allowing unbound keys.
Formats a string like the built - in |format| allowing unbound keys .
"""
    Formats a string like the built-in |format| allowing unbound keys.

        format_template("${template_var} {format_var}", format_var=42)
    will produce
        "${template_var} 42"
    without raising an exception that |template_var| is unbound.
    """
format_string