cpython/Modules/_testcapi/codec.c

#include "parts.h"
#include "util.h"

// === Codecs registration and un-registration ================================

static PyObject *
codec_register(PyObject *Py_UNUSED(module), PyObject *search_function)
{}

static PyObject *
codec_unregister(PyObject *Py_UNUSED(module), PyObject *search_function)
{}

static PyObject *
codec_known_encoding(PyObject *Py_UNUSED(module), PyObject *args)
{}

// === Codecs encoding and decoding interfaces ================================

static PyObject *
codec_encode(PyObject *Py_UNUSED(module), PyObject *args)
{}

static PyObject *
codec_decode(PyObject *Py_UNUSED(module), PyObject *args)
{}

static PyObject *
codec_encoder(PyObject *Py_UNUSED(module), PyObject *args)
{}

static PyObject *
codec_decoder(PyObject *Py_UNUSED(module), PyObject *args)
{}

static PyObject *
codec_incremental_encoder(PyObject *Py_UNUSED(module), PyObject *args)
{}

static PyObject *
codec_incremental_decoder(PyObject *Py_UNUSED(module), PyObject *args)
{}

static PyObject *
codec_stream_reader(PyObject *Py_UNUSED(module), PyObject *args)
{}

static PyObject *
codec_stream_writer(PyObject *Py_UNUSED(module), PyObject *args)
{}

// === Codecs errors handlers =================================================

static PyObject *
codec_register_error(PyObject *Py_UNUSED(module), PyObject *args)
{}

static PyObject *
codec_lookup_error(PyObject *Py_UNUSED(module), PyObject *args)
{}

static PyObject *
codec_strict_errors(PyObject *Py_UNUSED(module), PyObject *exc)
{}

static PyObject *
codec_ignore_errors(PyObject *Py_UNUSED(module), PyObject *exc)
{}

static PyObject *
codec_replace_errors(PyObject *Py_UNUSED(module), PyObject *exc)
{}

static PyObject *
codec_xmlcharrefreplace_errors(PyObject *Py_UNUSED(module), PyObject *exc)
{}

static PyObject *
codec_backslashreplace_errors(PyObject *Py_UNUSED(module), PyObject *exc)
{}

static PyMethodDef test_methods[] =;

int
_PyTestCapi_Init_Codec(PyObject *m)
{}