Searched refs:escape_encode (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython2/Lib/encodings/ |
D | string_escape.py | 12 encode = codecs.escape_encode 17 return codecs.escape_encode(input, self.errors)[0]
|
/external/python/apitools/apitools/base/protorpclite/ |
D | descriptor.py | 136 messages.BytesField: lambda value: codecs.escape_encode(value)[0],
|
/external/python/cpython2/Modules/ |
D | _codecsmodule.c | 176 escape_encode(PyObject *self, in escape_encode() function 1064 {"escape_encode", escape_encode, METH_VARARGS},
|
/external/python/cpython3/Lib/test/ |
D | test_codecs.py | 1455 self.assertEqual(codecs.escape_encode(br'\x00')[1], 4) 2579 self.assertEqual(codecs.escape_encode(data), output) 2580 self.assertRaises(TypeError, codecs.escape_encode, 'spam') 2581 self.assertRaises(TypeError, codecs.escape_encode, bytearray(b'spam'))
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.0b2.rst | 541 Prevent codecs.escape_encode() from raising SystemError when an empty
|
D | 3.5.3rc1.rst | 851 Prevent codecs.escape_encode() from raising SystemError when an empty
|
D | 3.7.0a1.rst | 4539 Prevent codecs.escape_encode() from raising SystemError when an empty
|
/external/nanopb-c/generator/ |
D | nanopb_generator.py | 471 data = codecs.escape_encode(self.default.encode('utf-8'))[0]
|