def METHOD_NAME(style1, style2):
    """ Returns a match score between *style1* and *style2*.
    * An exact match returns 0.0.
    * A match between 'italic' and 'oblique' returns 0.1.
    * No match returns 1.0.
    """
    styles = ("italic", "oblique")
    if style1 == style2:
        return 0.0
    elif style1 in styles and style2 in styles:
        return 0.1
    return 1.0