Home
last modified time | relevance | path

Searched refs:readbuffer_encode (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Modules/
D_codecsmodule.c602 readbuffer_encode(PyObject *self, in readbuffer_encode() function
1098 {"readbuffer_encode", readbuffer_encode, METH_VARARGS},
/external/python/cpython2/Lib/test/
Dtest_codecs.py788 codecs.readbuffer_encode(array.array("c", "spam")),
793 self.assertEqual(codecs.readbuffer_encode(""), ("", 0))
796 self.assertRaises(TypeError, codecs.readbuffer_encode)
797 self.assertRaises(TypeError, codecs.readbuffer_encode, 42)
/external/python/cpython3/Lib/test/
Dtest_codecs.py1079 codecs.readbuffer_encode(array.array("b", b"spam")),
1084 self.assertEqual(codecs.readbuffer_encode(""), (b"", 0))
1087 self.assertRaises(TypeError, codecs.readbuffer_encode)
1088 self.assertRaises(TypeError, codecs.readbuffer_encode, 42)