def format(value, format_spec=''):
    """Return value.__format__(format_spec)

    format_spec defaults to the empty string.
    See the Format Specification Mini-Language section of help('FORMATTING') for
    details."""
    return value.__format__(format_spec)