]> granicus.if.org Git - python/commitdiff
Fix build failure.
authorAntoine Pitrou <solipsis@pitrou.net>
Wed, 16 May 2012 10:51:55 +0000 (12:51 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Wed, 16 May 2012 10:51:55 +0000 (12:51 +0200)
Objects/exceptions.c

index b994862a2d02c372a58446e769de5f4ecdc78484..9e10b7e30763641b360d29b556a42a8202d6d380 100644 (file)
@@ -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}
 };