use char instead of int to please T_BOOL (closes #15597)
This commit is contained in:
parent
20416a20b7
commit
1a1367b821
|
@ -11,7 +11,7 @@ extern "C" {
|
||||||
#define PyException_HEAD PyObject_HEAD PyObject *dict;\
|
#define PyException_HEAD PyObject_HEAD PyObject *dict;\
|
||||||
PyObject *args; PyObject *traceback;\
|
PyObject *args; PyObject *traceback;\
|
||||||
PyObject *context; PyObject *cause;\
|
PyObject *context; PyObject *cause;\
|
||||||
int suppress_context;
|
char suppress_context;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
PyException_HEAD
|
PyException_HEAD
|
||||||
|
|
Loading…
Reference in New Issue