summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-05-16 10:51:55 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-05-16 10:51:55 (GMT)
commit32bc80c523ed31d86d3deda99e0c18d4fc6c2e93 (patch)
tree9d21d27eb5cdd4287cd9f5b8b4caa7318a39578e
parente7672d38dc430036539a2b1a279757d1cc819af7 (diff)
downloadcpython-32bc80c523ed31d86d3deda99e0c18d4fc6c2e93.zip
cpython-32bc80c523ed31d86d3deda99e0c18d4fc6c2e93.tar.gz
cpython-32bc80c523ed31d86d3deda99e0c18d4fc6c2e93.tar.bz2
Fix build failure.
-rw-r--r--Objects/exceptions.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/exceptions.c b/Objects/exceptions.c
index b994862..9e10b7e 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}
};