Searched refs:codeccls (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Python/ |
D | codecs.c | 262 PyObject *codecs, *streamcodec, *codeccls; in codec_getstreamcodec() local 268 codeccls = PyTuple_GET_ITEM(codecs, index); in codec_getstreamcodec() 270 streamcodec = PyObject_CallFunction(codeccls, "Os", stream, errors); in codec_getstreamcodec() 272 streamcodec = PyObject_CallFunction(codeccls, "O", stream); in codec_getstreamcodec()
|
/external/python/cpython3/Python/ |
D | codecs.c | 316 PyObject *codecs, *streamcodec, *codeccls; in codec_getstreamcodec() local 322 codeccls = PyTuple_GET_ITEM(codecs, index); in codec_getstreamcodec() 324 streamcodec = PyObject_CallFunction(codeccls, "Os", stream, errors); in codec_getstreamcodec() 326 streamcodec = PyObject_CallFunctionObjArgs(codeccls, stream, NULL); in codec_getstreamcodec()
|