示例#1
0
文件: codecs.c 项目: 0xcc/python-read
PyObject *PyCodec_IncrementalDecoder(const char *encoding,
                                     const char *errors)
{
    return codec_getincrementalcodec(encoding, errors, "incrementaldecoder");
}
示例#2
0
PyObject* PyCodec_IncrementalEncoder(const char* encoding, const char* errors) noexcept {
    return codec_getincrementalcodec(encoding, errors, "incrementalencoder");
}