diff --git a/Objects/exceptions.c b/Objects/exceptions.c index b994862a2d0..9e10b7e3076 100644 --- a/Objects/exceptions.c +++ b/Objects/exceptions.c @@ -349,7 +349,8 @@ PyException_SetContext(PyObject *self, PyObject *context) { static struct PyMemberDef BaseException_members[] = { {"__suppress_context__", T_BOOL, - offsetof(PyBaseExceptionObject, suppress_context)} + offsetof(PyBaseExceptionObject, suppress_context)}, + {NULL} };