diff Modules/itertoolsmodule.c @ 57521:ff2aefc97881 2.6

Add sentinel
author Raymond Hettinger <python@rcn.com>
date Mon, 30 Nov 2009 21:33:31 +0000
parents 1ff2c3edc13c
children e38335d4df91
line wrap: on
line diff
--- a/Modules/itertoolsmodule.c	Mon Nov 30 11:15:28 2009 +0000
+++ b/Modules/itertoolsmodule.c	Mon Nov 30 21:33:31 2009 +0000
@@ -2919,6 +2919,7 @@
 static PyMethodDef count_methods[] = {
 	{"__reduce__",	(PyCFunction)count_reduce,	METH_NOARGS,
 	 count_reduce_doc},
+	{NULL,		NULL}	/* sentinel */
 };
 
 PyDoc_STRVAR(count_doc,