Searched refs:_cescape_utf8_to_str (Results 1 – 1 of 1) sorted by relevance
37 _cescape_utf8_to_str = [chr(i) for i in range(0, 256)] variable38 _cescape_utf8_to_str[9] = r'\t' # optional escape39 _cescape_utf8_to_str[10] = r'\n' # optional escape40 _cescape_utf8_to_str[13] = r'\r' # optional escape41 _cescape_utf8_to_str[39] = r"\'" # optional escape43 _cescape_utf8_to_str[34] = r'\"' # necessary escape44 _cescape_utf8_to_str[92] = r'\\' # necessary escape78 return ''.join(_cescape_utf8_to_str[Ord(c)] for c in text)