Searched refs:_cescape_byte_to_str (Results 1 – 1 of 1) sorted by relevance
47 _cescape_byte_to_str = ([r'\%03o' % i for i in range(0, 32)] + variable50 _cescape_byte_to_str[9] = r'\t' # optional escape51 _cescape_byte_to_str[10] = r'\n' # optional escape52 _cescape_byte_to_str[13] = r'\r' # optional escape53 _cescape_byte_to_str[39] = r"\'" # optional escape55 _cescape_byte_to_str[34] = r'\"' # necessary escape56 _cescape_byte_to_str[92] = r'\\' # necessary escape79 return ''.join(_cescape_byte_to_str[Ord(c)] for c in text)