[Python-checkins] cpython: Fix build failure.

antoine.pitrou python-checkins at python.org
Wed May 16 12:54:18 CEST 2012


http://hg.python.org/cpython/rev/1ecd10260649
changeset:   76988:1ecd10260649
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Wed May 16 12:51:55 2012 +0200
summary:
  Fix build failure.

files:
  Objects/exceptions.c |  3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/Objects/exceptions.c b/Objects/exceptions.c
--- a/Objects/exceptions.c
+++ b/Objects/exceptions.c
@@ -349,7 +349,8 @@
 
 static struct PyMemberDef BaseException_members[] = {
     {"__suppress_context__", T_BOOL,
-     offsetof(PyBaseExceptionObject, suppress_context)}
+     offsetof(PyBaseExceptionObject, suppress_context)},
+    {NULL}
 };
 
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list