Mercurial > cpython-lru_cache-weakref
diff Include/pyerrors.h @ 78468:e2df976b8a33
use char instead of int to please T_BOOL (closes #15597)
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Wed, 08 Aug 2012 17:22:50 -0700 |
| parents | cfbf6aa5c9e3 |
| children | 2aee9c41bb79 8a0ed9f63c6e |
line wrap: on
line diff
--- a/Include/pyerrors.h Tue Aug 07 03:10:57 2012 -0700 +++ b/Include/pyerrors.h Wed Aug 08 17:22:50 2012 -0700 @@ -11,7 +11,7 @@ #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
