code: def unescape(cls, text: str) -> str:
          
          chop = text.split("\\", 1)
          try:
              return (chop[0] if len(chop) == 1
                      else chop[0] + cls.unescape_map[chop[1][0]] +
                      cls.unescape(chop[1][1:]))
          except KeyError:
              raise InvalidArgument(text) from None
docs: Replace escape sequence with corresponding characters.
  
          Args:
              text: Text to unescape.