def _pct_encoded_replace_unreserved(mo):
    try:
        i = int(mo.group(1), 16)
        if _unreserved[i]:
            return chr(i)
        else:
            return mo.group().upper()

    except __HOLE__:
        return mo.group()
dataset/ETHPy150Open necaris/python3-openid/openid/urinorm.py/_pct_encoded_replace_unreserved