Lines Matching refs:escapes
207 escapes = [] variable
210 global escapes
211 escapes = [chr(i) for i in range(256)]
221 escapes[i] = "\\%03o" % i
222 escapes[ord('\\')] = '\\\\'
223 escapes[ord('\t')] = '\\t'
224 escapes[ord('\r')] = '\\r'
225 escapes[ord('\n')] = '\\n'
226 escapes[ord('\"')] = '\\"'
230 global escapes
233 s[i] = escapes[ord(s[i])]