def unescape(s):
    """Revert escaped characters back to their special version.

    For example, \\\\n => \\n and \\\\t => \\t

    :param s: string to unescape
    """
    return s.replace('\\n', '\n').replace('\\t', '\t').replace('\\r', '\r')
