def unescape(text, chars=REV_HTML_ESCAPE_CHARS):
    """
    Perform the exact opposite of 'escape'.
    """
    for s, h in chars:
        text = text.replace(h, s)
    return text

    Perform the exact opposite of 'escape'.
    
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/microdom.py