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/Misc/NEWS.d/ |
D | 3.6.0b2.rst | 539 Prevent codecs.escape_encode() from raising SystemError when an empty
|
D | 3.5.3rc1.rst | 850 Prevent codecs.escape_encode() from raising SystemError when an empty
|
D | 3.7.0a1.rst | 4532 Prevent codecs.escape_encode() from raising SystemError when an empty
|
/external/python/cpython3/Lib/test/ |
D | test_codecs.py | 2483 self.assertEqual(codecs.escape_encode(data), output) 2484 self.assertRaises(TypeError, codecs.escape_encode, 'spam') 2485 self.assertRaises(TypeError, codecs.escape_encode, bytearray(b'spam'))
|
/external/nanopb-c/generator/ |
D | nanopb_generator.py | 471 data = codecs.escape_encode(self.default.encode('utf-8'))[0]
|