summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/cPickle.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/cPickle.c b/Modules/cPickle.c
index 3a98259..b2392f9 100644
--- a/Modules/cPickle.c
+++ b/Modules/cPickle.c
@@ -2461,6 +2461,7 @@ Pickler_get_error(Picklerobject *p)
static PyMemberDef Pickler_members[] = {
{"binary", T_INT, offsetof(Picklerobject, bin)},
{"fast", T_INT, offsetof(Picklerobject, fast)},
+ {NULL}
};
static PyGetSetDef Pickler_getsets[] = {
@@ -2468,7 +2469,8 @@ static PyGetSetDef Pickler_getsets[] = {
(setter)Pickler_set_pers_func},
{"inst_persistent_id", NULL, (setter)Pickler_set_inst_pers_func},
{"memo", (getter)Pickler_get_memo, (setter)Pickler_set_memo},
- {"PicklingError", (getter)Pickler_get_error, NULL}
+ {"PicklingError", (getter)Pickler_get_error, NULL},
+ {NULL}
};
static char Picklertype__doc__[] =