Add declaration for PyErr_WarnExplicit().

This commit is contained in:
Guido van Rossum 2001-02-28 21:44:20 +00:00
parent 9e26318975
commit 1bcb7e9327
1 changed files with 2 additions and 0 deletions

View File

@ -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);