diff options
Diffstat (limited to 'Include')
-rw-r--r-- | Include/pyerrors.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Include/pyerrors.h b/Include/pyerrors.h index fedf913..432004a 100644 --- a/Include/pyerrors.h +++ b/Include/pyerrors.h @@ -220,8 +220,10 @@ PyAPI_FUNC(void) _PyErr_BadInternalCall(char *filename, int lineno); #define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__) /* Function to create a new exception */ -PyAPI_FUNC(PyObject *) PyErr_NewException(char *name, PyObject *base, - PyObject *dict); +PyAPI_FUNC(PyObject *) PyErr_NewException( + char *name, PyObject *base, PyObject *dict); +PyAPI_FUNC(PyObject *) PyErr_NewExceptionWithDoc( + char *name, char *doc, PyObject *base, PyObject *dict); PyAPI_FUNC(void) PyErr_WriteUnraisable(PyObject *); /* In sigcheck.c or signalmodule.c */ |