PyErr_NewExceptionWithDoc method

Pointer<PyObject> PyErr_NewExceptionWithDoc(
  1. Pointer<Char> name,
  2. Pointer<Char> doc,
  3. Pointer<PyObject> base,
  4. Pointer<PyObject> dict,
)

Implementation

ffi.Pointer<PyObject> PyErr_NewExceptionWithDoc(
  ffi.Pointer<ffi.Char> name,
  ffi.Pointer<ffi.Char> doc,
  ffi.Pointer<PyObject> base,
  ffi.Pointer<PyObject> dict,
) {
  return _PyErr_NewExceptionWithDoc(
    name,
    doc,
    base,
    dict,
  );
}