diff options
Diffstat (limited to 'Include/cpython/warnings.h')
-rw-r--r-- | Include/cpython/warnings.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/cpython/warnings.h b/Include/cpython/warnings.h index 2ef8e3c..4e3eb88 100644 --- a/Include/cpython/warnings.h +++ b/Include/cpython/warnings.h @@ -17,4 +17,4 @@ PyAPI_FUNC(int) PyErr_WarnExplicitFormat( const char *format, ...); // DEPRECATED: Use PyErr_WarnEx() instead. -#define PyErr_Warn(category, msg) PyErr_WarnEx(category, msg, 1) +#define PyErr_Warn(category, msg) PyErr_WarnEx((category), (msg), 1) |