diff options
Diffstat (limited to 'Include')
-rw-r--r-- | Include/warnings.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Include/warnings.h b/Include/warnings.h index 79ef9f3..0818d7a 100644 --- a/Include/warnings.h +++ b/Include/warnings.h @@ -10,7 +10,8 @@ PyAPI_FUNC(int) PyErr_WarnEx(PyObject *, const char *, Py_ssize_t); PyAPI_FUNC(int) PyErr_WarnExplicit(PyObject *, const char *, const char *, int, const char *, PyObject *); -#define PyErr_WarnPy3k(msg, stacklevel) (Py_Py3kWarningFlag ? PyErr_WarnEx(PyExc_DeprecationWarning, msg, stacklevel) : 0) +#define PyErr_WarnPy3k(msg, stacklevel) \ + (Py_Py3kWarningFlag ? PyErr_WarnEx(PyExc_DeprecationWarning, msg, stacklevel) : 0) /* DEPRECATED: Use PyErr_WarnEx() instead. */ #define PyErr_Warn(category, msg) PyErr_WarnEx(category, msg, 1) |