

def is_number_match(num1, num2):
    'Takes two phone numbers and compares them for equality.\n\n    For example, the numbers +1 345 657 1234 and 657 1234 are a SHORT_NSN_MATCH.\n    The numbers +1 345 657 1234 and 345 657 are a NO_MATCH.\n\n    Arguments\n    num1 -- First number object or string to compare. Can contain formatting,\n              and can have country calling code specified with + at the start.\n    num2 -- Second number object or string to compare. Can contain formatting,\n              and can have country calling code specified with + at the start.\n\n    Returns:\n     - EXACT_MATCH if the country_code, NSN, presence of a leading zero for\n       Italian numbers and any extension present are the same.\n     - NSN_MATCH if either or both has no region specified, and the NSNs and\n       extensions are the same.\n     - SHORT_NSN_MATCH if either or both has no region specified, or the\n       region specified is the same, and one NSN could be a shorter version of\n       the other number. This includes the case where one has an extension\n       specified, and the other does not.\n     - NO_MATCH otherwise.\n     '
    if (isinstance(num1, PhoneNumber) and isinstance(num1, PhoneNumber)):
        return _is_number_match_OO(num1, num2)
    elif isinstance(num1, PhoneNumber):
        return _is_number_match_OS(num1, num2)
    elif isinstance(num2, PhoneNumber):
        return _is_number_match_OS(num2, num1)
    else:
        return _is_number_match_SS(num1, num2)

dataset/ETHPy150Open daviddrysdale/python-phonenumbers/python/phonenumbers/phonenumberutil.py is_number_match/VarMisuse@25/463 `num2`->`num1`