diff options
Diffstat (limited to 'Include/warnings.h')
-rw-r--r-- | Include/warnings.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Include/warnings.h b/Include/warnings.h index 5a7dfb1..217c06a 100644 --- a/Include/warnings.h +++ b/Include/warnings.h @@ -17,6 +17,13 @@ PyAPI_FUNC(int) PyErr_WarnFormat( Py_ssize_t stack_level, const char *format, /* ASCII-encoded string */ ...); +PyAPI_FUNC(int) PyErr_WarnExplicitObject( + PyObject *category, + PyObject *message, + PyObject *filename, + int lineno, + PyObject *module, + PyObject *registry); PyAPI_FUNC(int) PyErr_WarnExplicit( PyObject *category, const char *message, /* UTF-8 encoded string */ |