From 1bcb7e9327414d1e8675597b91e4f6e0441315fc Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 28 Feb 2001 21:44:20 +0000 Subject: [PATCH] Add declaration for PyErr_WarnExplicit(). --- Include/pyerrors.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Include/pyerrors.h b/Include/pyerrors.h index 7d8ed8466cb..622af2d43bb 100644 --- a/Include/pyerrors.h +++ b/Include/pyerrors.h @@ -94,6 +94,8 @@ extern DL_IMPORT(void) PyErr_WriteUnraisable(PyObject *); /* Issue a warning or exception */ extern DL_IMPORT(int) PyErr_Warn(PyObject *, char *); +extern DL_IMPORT(int) PyErr_WarnExplicit(PyObject *, char *, + char *, int, char *, PyObject *); /* In sigcheck.c or signalmodule.c */ extern DL_IMPORT(int) PyErr_CheckSignals(void);