Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 32bc80c

Browse files
committed
Fix build failure.
1 parent e7672d3 commit 32bc80c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Objects/exceptions.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,8 @@ PyException_SetContext(PyObject *self, PyObject *context) {
349349

350350
static struct PyMemberDef BaseException_members[] = {
351351
{"__suppress_context__", T_BOOL,
352-
offsetof(PyBaseExceptionObject, suppress_context)}
352+
offsetof(PyBaseExceptionObject, suppress_context)},
353+
{NULL}
353354
};
354355

355356

0 commit comments

Comments
 (0)