diff options
Diffstat (limited to 'Include')
-rw-r--r-- | Include/warnings.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Include/warnings.h b/Include/warnings.h index b7db681cc41..5a7dfb1bb24 100644 --- a/Include/warnings.h +++ b/Include/warnings.h @@ -25,6 +25,12 @@ PyAPI_FUNC(int) PyErr_WarnExplicit( const char *module, /* UTF-8 encoded string */ PyObject *registry); +PyAPI_FUNC(int) +PyErr_WarnExplicitFormat(PyObject *category, + const char *filename, int lineno, + const char *module, PyObject *registry, + const char *format, ...); + /* DEPRECATED: Use PyErr_WarnEx() instead. */ #ifndef Py_LIMITED_API #define PyErr_Warn(category, msg) PyErr_WarnEx(category, msg, 1) |