From: Raymond Hettinger Date: Mon, 30 Nov 2009 21:33:31 +0000 (+0000) Subject: Add sentinel X-Git-Tag: v2.6.5rc1~307 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bbeca275e17e6c3ef6f3a7a33f667c3711a46714;p=thirdparty%2FPython%2Fcpython.git Add sentinel --- diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c index 046548df2c74..5f1b16751b23 100644 --- a/Modules/itertoolsmodule.c +++ b/Modules/itertoolsmodule.c @@ -2919,6 +2919,7 @@ PyDoc_STRVAR(count_reduce_doc, "Return state information for pickling."); static PyMethodDef count_methods[] = { {"__reduce__", (PyCFunction)count_reduce, METH_NOARGS, count_reduce_doc}, + {NULL, NULL} /* sentinel */ }; PyDoc_STRVAR(count_doc,