mirror of https://github.com/python/cpython
Add declaration for PyErr_WarnExplicit().
This commit is contained in:
parent
9e26318975
commit
1bcb7e9327
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue