Home
last modified time | relevance | path

Searched refs:escape_encode (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython2/Lib/encodings/
Dstring_escape.py12 encode = codecs.escape_encode
17 return codecs.escape_encode(input, self.errors)[0]
/external/python/apitools/apitools/base/protorpclite/
Ddescriptor.py136 messages.BytesField: lambda value: codecs.escape_encode(value)[0],
/external/python/cpython2/Modules/
D_codecsmodule.c176 escape_encode(PyObject *self, in escape_encode() function
1064 {"escape_encode", escape_encode, METH_VARARGS},
/external/python/cpython3/Misc/NEWS.d/
D3.6.0b2.rst539 Prevent codecs.escape_encode() from raising SystemError when an empty
D3.5.3rc1.rst850 Prevent codecs.escape_encode() from raising SystemError when an empty
D3.7.0a1.rst4532 Prevent codecs.escape_encode() from raising SystemError when an empty
/external/python/cpython3/Lib/test/
Dtest_codecs.py2483 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/
Dnanopb_generator.py471 data = codecs.escape_encode(self.default.encode('utf-8'))[0]