commit | bbeca275e17e6c3ef6f3a7a33f667c3711a46714 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Mon Nov 30 21:33:31 2009 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Mon Nov 30 21:33:31 2009 +0000 |
tree | 3a1cec0d7b62c5f2973ac3c42905201c4a8c139d | |
parent | 673827c6f999197a431fe646c53af20f330a7750 [diff] [blame] |
Add sentinel
diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c index 046548d..5f1b167 100644 --- a/Modules/itertoolsmodule.c +++ b/Modules/itertoolsmodule.c
@@ -2919,6 +2919,7 @@ static PyMethodDef count_methods[] = { {"__reduce__", (PyCFunction)count_reduce, METH_NOARGS, count_reduce_doc}, + {NULL, NULL} /* sentinel */ }; PyDoc_STRVAR(count_doc,