summaryrefslogtreecommitdiffstats
path: root/Include/warnings.h
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-05-26 19:37:11 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-05-26 19:37:11 (GMT)
commitb17ad2de08f1d31767255879664ba671cb20f000 (patch)
tree6e3c9ee3d7772ddb206a559be32f0a0dfe2c61dc /Include/warnings.h
parent8f1a4a68289c9ec4181f45f9ecc648fdf1050566 (diff)
downloadcpython-b17ad2de08f1d31767255879664ba671cb20f000.zip
cpython-b17ad2de08f1d31767255879664ba671cb20f000.tar.gz
cpython-b17ad2de08f1d31767255879664ba671cb20f000.tar.bz2
wrap line
Diffstat (limited to 'Include/warnings.h')
-rw-r--r--Include/warnings.h3
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)