Searched refs:charbuffer_encode (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython2/Modules/ |
D | _codecsmodule.c | 618 charbuffer_encode(PyObject *self, in charbuffer_encode() function 1099 {"charbuffer_encode", charbuffer_encode, METH_VARARGS},
|
/external/python/cpython2/Lib/test/ |
D | test_codecs.py | 802 self.assertEqual(codecs.charbuffer_encode("spam"), ("spam", 4)) 805 self.assertEqual(codecs.charbuffer_encode(""), ("", 0)) 808 self.assertRaises(TypeError, codecs.charbuffer_encode) 809 self.assertRaises(TypeError, codecs.charbuffer_encode, 42)
|
/external/python/cpython3/Misc/ |
D | HISTORY | 12735 - Issue #8838: Remove codecs.charbuffer_encode() function. The buffer protocol 12739 instead. codecs.charbuffer_encode() now accepts modifiable buffer objects
|