Searched refs:hexescape (Results 1 – 2 of 2) sorted by relevance
/third_party/python/Lib/test/ |
D | test_urllib.py | 27 def hexescape(char): function 956 self.assertEqual(hexescape(char), result, 959 (char, hexescape(char), result)) 961 self.assertEqual(hexescape(char), result, 964 (char, hexescape(char), result)) 979 self.assertEqual(result, hexescape(' '), 980 "using quote(): %r != %r" % (result, hexescape(' '))) 985 expect = given.replace(' ', hexescape(' ')) 1091 given = hexescape(chr(num)) 1158 given = 'ab%sd' % hexescape('c') [all …]
|
/third_party/python/Objects/ |
D | unicodeobject.c | 6536 goto hexescape; in _PyUnicode_DecodeUnicodeEscapeInternal() 6542 goto hexescape; in _PyUnicode_DecodeUnicodeEscapeInternal() 6548 hexescape: in _PyUnicode_DecodeUnicodeEscapeInternal()
|