summaryrefslogtreecommitdiffstats
path: root/Include/pyerrors.h
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-08-09 00:22:50 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-08-09 00:22:50 (GMT)
commit1a1367b821ee6e724cc4d66934f93d84d8544161 (patch)
tree2a3477849d480179765793dc13deed9593d58bf2 /Include/pyerrors.h
parent20416a20b75913ba932a801b81bf643bed800520 (diff)
downloadcpython-1a1367b821ee6e724cc4d66934f93d84d8544161.zip
cpython-1a1367b821ee6e724cc4d66934f93d84d8544161.tar.gz
cpython-1a1367b821ee6e724cc4d66934f93d84d8544161.tar.bz2
use char instead of int to please T_BOOL (closes #15597)
Diffstat (limited to 'Include/pyerrors.h')
-rw-r--r--Include/pyerrors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/pyerrors.h b/Include/pyerrors.h
index 2c145ad..af37410 100644
--- a/Include/pyerrors.h
+++ b/Include/pyerrors.h
@@ -11,7 +11,7 @@ extern "C" {
#define PyException_HEAD PyObject_HEAD PyObject *dict;\
PyObject *args; PyObject *traceback;\
PyObject *context; PyObject *cause;\
- int suppress_context;
+ char suppress_context;
typedef struct {
PyException_HEAD